Time/Date
Purpose: |
Get the year from a Date Input object variable. |
Category: |
Time/Date |
Syntax: |
DateInputGetYear [myDate] [result] Date Input object variable to store the date selected by the user. result Variable to store the year of [myDate]. |
Example: |
DateInputGetYear [myDate] [year] |
Purpose: |
Get the month from a Date Input object variable. |
Category: |
Time/Date |
Syntax: |
DateInputGetMonth [myDate] [result] Date Input object variable to store the date selected by the user. result Variable to store the month of [myDate]. |
Example: |
DateInputGetMonth [myDate] [month] |
Purpose: |
Get the day of the month from a Date Input object variable. |
Category: |
Time/Date |
Syntax: |
DateInputGetDay [myDate] [result] Date Input object variable to store the date selected by the user. result Variable to store the day of [myDate]. |
Example: |
DateInputGetDay [myDate] [day] |
Purpose: |
Store a date into a Date Input variable. |
Category: |
Time/Date |
Syntax: |
DateInputSetDate [myDate] [fullYear] [monthNumber] [dayNumber] Date Input object variable to store the date. fullYear Full year (ie: 2023). monthNumber Month number (1 - 12). dayNumber Day number (1 - 31). |
Example: |
DateInputSetDate [myDate] "2023" "12" "31" |
Purpose: |
Execute a subroutine, after waiting a specified number of milliseconds. |
Category: |
Time/Date |
Syntax: |
SetTimeOut milliseconds "subroutine" [variable] Milliseconds to wait before calling the subroutine (delay). subroutine Subroutine name. variable Variable name to store the TimeOut. |
Example: |
SetTimeOut 2000 "mySubroutine" [myTimeOutVar] |
Purpose: |
Stop a given TimeOut. |
Category: |
Time/Date |
Syntax: |
ClearTimeOut [variable] variable Variable name where the TimeOut is stored. |
Example: |
ClearTimeOut [myTimeOutVar] |
Purpose: |
Repeat the execution of a subroutine continuously every given time-interval in milliseconds. |
Category: |
Time/Date |
Syntax: |
SetInterval milliseconds "subroutine" [variable] milliseconds Milliseconds to wait before calling the subroutine each time (delay). subroutine Subroutine name. variable Variable name to store the Interval. |
Example: |
SetInterval 2000 "mySubroutine" [myIntervalVar] |
Purpose: |
Stop a given Interval. |
Category: |
Time/Date |
Syntax: |
ClearInterval [variable] variable Variable name where the Interval is stored. |
Example: |
ClearInterval [myIntervalVar] |
Purpose: |
Pause script execution for a specified number of milliseconds. |
Category: |
Time/Date |
Syntax: |
Delay numberOfMilliseconds |
Example: |
Delay 1000 |
Created with the Personal Edition of HelpNDoc: Produce electronic books easily