AMOSi:Datatypes

From Amiga Coding
Jump to: navigation, search

AMOS allows you to use several types of variables in your programs.


TypeExampleMinMax
IntegerA=3-6553665536
Single PrecisionA#=3.141591E-141E+15
Double PrecisionA#=3.14159265431E-3071E+308
StringA$="AMOS"0 chars65536 chars


Double Precision numbers and Single Precision numbers cannot be mixed in the same program. If you want to use double precision, insert a DOUBLE PRECISION command at the START of your listing.