COMMAND/SYNTAX USE
CONDITIONAL COMMANDS
2.IF (CONDITION) THEN
(STATEMENT)
ELSE
(STATEMENT)
END IF
-Else conditional
3.IF (CONDITION) THEN (STATEMENT) ELSE (STATEMENT)
LOOP COMMANDS
FOR (VARIABLE1)= (VARIABLE) TO (VARIABLE) STEP (+/-) (VARIABLE)
(STATEMENT)
NEXT (VARIABLE1)-Looping statement
DATE$
-To return the system date
TIME$
-To return the system time
ABS (numeric expression)
-To return absolute value
ASC (String expresion)
-To return Ascii code
CHR$ (numeric expression)
-To return character of given ascii code
VAL (string expression)
-To return numeric value from given string
STR$ (numeric expression)
-To return string value from given numeric
INT (numeric expression)
-To return an integer
FIX (Numeric expression)
-To return a number with decimal
TIMER=(numeric expression)
-To return a time in numeric form
TAB (numeric expression)
-To return a space area
SPC (numeric expression)
-To return a space area
SPACE$ (numeric expression)
-To return a space area
LOCATE Row number,Column number
-To set an cursor to desired location for printing
STRING$ (numeric expression,string)
-To repeat astring upto given numeric value
LEN (string expression)
-To return length of string
LEFT$ (string expression,No of characters)
-To return a string from left side
RIGHT$ (numeric expression,No of characters)
-To return a string from right side
MID$ (string expression,starting value, no of characters)
-To return a string from left / right / middle
UCASE$ (string expression)
-To return a string in upper case
LCASE$ (string expression)
-To return a string in lower case