1. Floundering

Hello - friends(?)

I hope I'm not rubbing anybody the wrong way with that salutation.

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.

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.

Somebody please slap my knuckles and tell me what I'm doing wrong.  Please?
Pretty please?

The Knight of the Rueful Countenance II
Wally Riley
wryly at mindspring.com

(The original K of the R C, if you've forgotten, was Don Quixote).

new topic     » topic index » view message » categorize

2. Re: Floundering

>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 message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu