Re: General Beginner Issues
- Posted by _tom (admin) Jul 15, 2013
- 3186 views
The Archive has many resources. See the link to the right of this page.
Things to read first:
- http://rapideuphoria.com/abg_pdf.zip
- from the DOS era of Euphoria, so this is very old but still useful
- http://rapideuphoria.com/thinkeuphoria.zip
- needs updating, but at least you can complain to me directly
- http://rapideuphoria.com/euphoricMysteries%20v0.2.exe
- http://rapideuphoria.com/how2prog.pdf
The Euphoria trick is that everything is a number, but numbers can be used for many things.
print(1, x+x ) -- to show numbers puts(1, x+x ) -- to show text
Now, if the number value is withing the ASCII chart range, then you can display either integers (print) or characters (puts). Outside of this ASCII range using puts displays noise (only print is useful).
A sequence is good for both strings and lists of numbers.
- if you puts, you get text displayed
- if you print, you get numbers displayed
TOM