REM دستورهاي مربوط به متغيرهاي غير رشته اي

'INCR  **** INCR a
'dim a as Integer
'a = 4
'incr a
'print a
'end


'DECR    **** DECR a
'dim a as Integer
'a=9
'decr a
'print a
'end


'INT    ****  a=INT(b)
'dim a as Single
'dim b as Single
'b=4.44
'a=INT(b)
'print a
'end


'FRAC    **** a = FRAC(b)
'dim a as Single
'dim b as Single
'b=4.44
'a=frac(b)
'print a
'end



'LOW     **** a= LOW(b)
'dim a as Byte
'dim b as Integer
'b=&H1100
'a = low(b)
'print a



'HIGH    **** a=HIGH(b)


'ROTATE    *** ROTATE a,LEFT/RIGHT,[n]
'dim a as Byte
'a=&B11110011
'rotate a,left,2
'end


'SHIFT    **** SHIFT a,LEFT/RIGHT,[n]
'dim a as Byte
'a=&B11111111
'shift a,left
'end


'SWAP     **** SWAP a,b
dim a as Byte
dim b as Byte
a=&B11111111
b=&B00000000
swap a,b
end


























