What it does
DisplayAspect writes a value: it sets rather than reads. It takes aspect (a float), and returns nothing. That is the first of 2 forms.
Syntax
1
DisplayAspect(aspect float)2
DisplayAspect() → floatParameters
| Name | Type | In forms |
|---|---|---|
| aspect | float | 1 |
What each form returns
| 1 | DisplayAspect(1.0) | nothing |
| 2 | DisplayAspect() | float |
Example · generated
Form 1, you choose the id yourself
DisplayAspect(1.0)DO Sync()LOOPForm 2, the command hands back the id
DO Print(DisplayAspect()) Sync()LOOPDisplayAspect is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.