Validity: Rule, Task
This variable contains the current year present on the CLOCK/CALENDER supplied with the ROBOX axis controls.
Syntax |
I32 year |
---|---|
Minimum representable number |
1997 |
Maximum representable number |
2097 |
Attributes |
Read only |
To set day-month-year you have to use the date directive.
Example
; if the variable day and the variable month are equal to 1 ; and the variable year is equal to 2025, then in sr(1) ; the string "Happy New Year 2025" will be stored _if(day = 1 and month = 1 and year = 2025) sr(1) = "Happy New Year 2025!!!" |