REM    tabdil code va motaghayer be yekdigar


'STR     ****  s = STR(a)
'dim s as String*10
'dim a as Integer
'a = 444
's=str(a)
'print s
'end

'VAL    **** a = VAL(s)
'dim s as String*10
'dim a as integer
's="444"
'a=val(s)
'print a
'end


'STRING    ****  s=STRING(n,m)
'dim s as String*10
's=STRING(4,62)
'print s
'end


'ASC     **** a=ASC(s)
'dim a as Integer
'dim s as String*10
's="FARADARS"
'a=ASC(s)
'print a
'end



'HEX    ****a=HEX(b)
'dim a as string*10
'dim b as Integer
'b=77
'a=hex(b)
'print a
'end


'HEXVAL    ****  a=HEXVAL(b)
'dim a as Integer
'dim b as String*15
'b="4B"
'a=HEXVAL(b)
'print a
'end



'MAKEBCD    **** a=MAKEBCD(b)
'dim a as Byte,b as Byte
'b=60
'a=makebcd(b)
'print a
'end



'MAKEDEC     **** a =MEKEDEC(b)


'MAKEINT    **** a=MAKEINT(b,c)       a=(256*c)+b
dim a as Integer,b as Integer,c as Integer
b=3
c=1
a=makeint(b,c)
print a
end






























