User guide
eWON 500-2001-4001-4002 User Guide - Programming the eWON
eWON 500®2001®4001®4002® Version 4_3_0 - User Guide - 10/5/05 - ©ACT'L sa - Page 134
9.2.14 CLS
Syntax [Command]
CLS
Purpose:
This command erases the virtual screen of the eWON, visible in the Script control page.
See also:
“PRINT - AT” on page 159
9.2.15 DAY
Syntax [Function]
DAY E1 / S1
• E1 is a date in integer format (number of seconds since 1/1/1970)
• S1 is a date in String format ("18/09/2003 15:45:30")
Purpose:
This function returns an integer corresponding to the value of the day of the month (1--31) that matches a defined time variable.
REM: Do not call the function with a float variable of value (or this would result to error "invalid parameter").
Example 1:
Example 2:
See also:
“DOW” on page 135, “DOY” on page 135, “MONTH” on page 150
9.2.16 DEC
Syntax [Function]
DEC S1
• S1 is the string to convert from HEX to DEC
Purpose:
This function returns an integer corresponding to the hexadecimal value of parameter.
The string is not case sensitive (a023fc = A023FC). The string can be of any length.
Example:
REM Now I%=1234
See also:
“HEX$” on page 145
9.2.17 DIM
Purpose:
The DIM function permits to create variables of array type. Two types of array are available: the characters arrays and the real arrays.
a$ = TIME$
a% = DAY a$
b% = getsys prg,"TIMESEC"
a% = DAY b%
A$= HEX$(1234)
I%=DEC(A$)