1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-16 20:05:14 +00:00
qb64/internal/help/_SOURCE-(function).md

24 lines
567 B
Markdown

The [_SOURCE (function)](_SOURCE-(function)) function returns the present image source handle value.
## Syntax
> currentSource& = [_SOURCE (function)](_SOURCE-(function))
## Description
* Returns a handle value that is a [LONG](LONG) integer type.
* Save the source handle to a [LONG](LONG) variable for later restoration using the [_SOURCE](_SOURCE) statement.
## Example(s)
See the examples in:
* [Bitmaps](Bitmaps)
* [SAVEIMAGE](SAVEIMAGE)
* [SaveIcon32](SaveIcon32)
## See Also
* [_DEST (function)](_DEST-(function))
* [_SOURCE](_SOURCE), [_DEST](_DEST)