DEST (function): Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
* The current write page is where all drawing occurs by default.
* The current write page is where all drawing occurs by default.
* The value returned is the same as the latest [[SCREEN]]'s handle when creating custom screen modes using [[_NEWIMAGE]].
* The value returned is the same as the latest [[SCREEN]]'s handle when creating custom screen modes using [[_NEWIMAGE]].
* Keep the _NEWIMAGE handle values when you move to another SCREEN mode so that you can return to that screen later. You can go to another screen mode and return without having to redo the screen.  
* Keep the _NEWIMAGE handle values when you move to another SCREEN mode so that you can return to that screen later. You can go to another screen mode and return without having to redo the screen.
* [[_DEST]] return values do not change in legacy screen modes. The value will not help restore them.
* [[_DEST]] return values do not change in legacy screen modes. The value will not help restore them.


Line 21: Line 21:


{{PageNavigation}}
{{PageNavigation}}
[[Category:Latest]]

Latest revision as of 01:28, 23 January 2023

The _DEST function returns the handle value of the current write page (the image used for drawing).


Syntax

result& = _DEST


Description

  • The current write page is where all drawing occurs by default.
  • The value returned is the same as the latest SCREEN's handle when creating custom screen modes using _NEWIMAGE.
  • Keep the _NEWIMAGE handle values when you move to another SCREEN mode so that you can return to that screen later. You can go to another screen mode and return without having to redo the screen.
  • _DEST return values do not change in legacy screen modes. The value will not help restore them.


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link