Re: Programs that do nothing at all
Daniel Johnson writes:
> Firstly,
> the basics of ED do not live up to those in QBasic (although I have been
> informed that someone has corrected this)
Download David Cuny's text-mode GUI and editor from the Recent Contributions
page.
Run bind on his main ee.ex file to make a .exe file for his editor.
Although he refers to it as version 0.84b, it is really quite
complete and solid.
There is no *need* to use any particular editor with Euphoria.
I personally still use ed, because I'm so used to it, and because
I find that using a mouse while editing slows me down.
ed is somewhat lacking in the GUI aspect however, and makes
no attempt to be compatible with the QBasic editor.
> However, there is nothing more annoying than a programme that does
> ABSOLOUTELY NOTHING WHATSOEVER when it blatantly should at least RUN
You have probably forgotten to call your main procedure.
In Euphoria you *must* have a "top-level" statement that
calls your main procedure (or function) or it will not execute.
In C, the function called "main" is called automatically
to start a C program running. Not so, in Euphoria. Do this:
procedure my_main_procedure()
? 2 + 2
end procedure
my_main_procedure() -- required!
If that is not the case, then insert:
with trace
trace(1)
as the first two lines in your main .ex file.
This will run your program in trace mode.
> Attached (or included as files seem to end up on this list) is my
> extra-extra-basic Word Processor procedure and associated functions
I didn't see any attached code.
Regards,
Rob Craig
Rapid Deployment Software
|
Not Categorized, Please Help
|
|