Basic and EX.Exe
*** Reply to note of 02/04/97 11:03
Euphoria is much more akin to C than to BASIC. since QBASIC is my language
of choice (old habits die hard), the following might be helpful:
1. use the euphoria editor. as a BASIC programmer, you'll forget to put a
"do" and the end of your "for", and use "next" instead of "end for".
sure, auto-completion can be a pain, but it's a good learning tool.
2. have the "library.doc" file open at all times, so you can search on it.
an easy way is to have two DOS sessions open, and have the library file
in the editor of your choice.
3. be sure you understand the difference between append() and &. i still get
the two confused, and having coded in Prolog, I should know better...
4. unlike BASIC, the order you delare your subs is important.
5. use the trace facility. it's great, and gives you a good feel for how
Euphoria works.
6. having to declare variables was my biggest barrier in making the transition
to Euphoria. i can't offer a good way around this, other than to say "get
used to it" and stick the line:
object tmp1, tmp2, tmp3
in the beginning of all all your routines if you really need a crutch to
fall back on...
is anything in particular an issue?
-- david cuny
|
Not Categorized, Please Help
|
|