It is used to enter strings or numbers directly in the program. Literal automatically changes its type and color according to the type of entered value.
Example (For modes 2D, 3D, Console)
Adds number 35058721 to variable n via numbers and then via literal.
Was example helpful?
Was this helpful?
Number (For modes 2D, 3D, Console)
Show examplesHide examples
Icon for entering the numbers.
Can be replaced by relevant literal at any time.
Example (For modes 2D, 3D, Console)
Adds number 35058721 to variable n via numbers and then via literal.
Was example helpful?
Example (For modes 2D, 3D, Console)
Save number 9876543210 to the variable I and five times writes it to the output window.
Was example helpful?
Was this helpful?
Infinity (For modes 2D, 3D, Console)
Show exampleHide example
It is used to infinitely repeat command or block of commands.
Example (For modes 2D, 3D)
Baltie in the cycle without end goes one step forward and one step backward.
Was example helpful?
Was this helpful?
Random number (For modes 2D, 3D, Console)
Show examplesHide examples
Generates pseudorandom number, whose value cannot be determined in advance.
Parameter of this command must be natural number (i.e. number bigger than 0).
Generated random number falls into interval 0 to parameter-1.
Example (For modes 2D, 3D)
Was example helpful?
Example (For modes 2D, 3D, Console)
Was example helpful?
Was this helpful?
Mantissa (For modes 2D, 3D, Console)
Show exampleHide example
Number exponent. Specifies order of the given number.
Example (For modes 2D, 3D)
Writes to the output window number 120 because it's 0.12E3.