Category:M2000 Interpreter: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 55:
Print Alfa(5) ' we pass a double type number
Print Alfa(12121221121.1212@) ' we pass a Decimal type
\\ M get type from first assingmentassignment
M=Alfa(3)
Print Type$(M) ' Double
Line 76:
\\ We call it
CheckIt
\\ Now FuntionFunction Alfa and all variables erased.
\\ We can call it again
CheckIt</lang>
Line 95:
Print a$
Let a$=str$(500.12, "")
Rem : a++ ' error can't aplyapply ++ to a string type
Print type$(a)="String" ' true
' Error a=a+a
Anonymous user