version 6.0
WR New offscreen area Longint
Parameter | Type | Description | ||||
This command does not require any parameters | ||||||
Function result | Longint | Reference of 4D Write area |
Description
The command WR New offscreen area reserves space in memory for a 4D Write area that is invisible to you and the user. This function also returns a value that can be used to access the invisible area. The value returned by WR New offscreen area can be used in any 4D Write command that requires a 4D Write area.
Remember to delete the offscreen area created by this function when you are finished with it.
Example
The following example creates a temporary offscreen area, prints it and the deletes it.
Temporary:=WR New offscreen area WR INSERT TEXT(Temporary;MyText) WR PRINT(Temporary;0) WR DELETE OFFSCREEN AREA(Temporary)
See Also