Re: Floundering

new topic     » goto parent     » topic index » view thread      » older message » newer message

>I got my program to run two or three weeks ago, but it stopped dead
>with an error message, displayed in the Euphoria editor.  With the help
of
>several people on Listserv, I got the program fixed (I think), and tried
to
>run it again.
>
>Now it stops, but it had a message saying I hadn't declared a couple
>of variables.  I added the declarations, as global.
>
>The program stopped again, with the same message.  The new
>declarations are still there.

Where aren't they declared? Were they declared BEFORE they were called?
If a function needs a variable, it must be declared before any MENTION of
the function that needs it. (The line number for the declaration must be
lower than the line number for whatever needs it, include, function
declaration, whatever.)

>I tried to start the Euphoria editor, but my computer says there ain't
>no such animal.  But there it is, ed.ex, in the same directory with my
>program, ex.exe, and a bunch of other goodies.

Has ED.BAT been deleted? If so, here it is:

@echo off
ex.exe ed.ex %1 %2 %3

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu