Variable Conversions in the ZX80

Authors

Joseph Sutton

Publication

Publication Details

Volume: 1 Issue: 3

Date

May/June 1981

Pages

26
See all articles from SYNC v1 n3

There are many cases when it is convenient to convert one type of variable to another, such as numeric to string, or string to numeric. In the ZX80 variable conversions from numeric to string are done with the STR$() function. The reverse conversion is not available with the 4K Basic. Given a string variable containing numbers, the program below looks at each number individually to determine its magnitude.

Products

 

Downloadable Media

 
Scroll to Top