1. HUH?


new topic     » topic index » view message » categorize

2. Re: HUH?

Alvin wrote:
> Do what??????

> C:\Alvin\test.ex:63
> Syntax error - expected to see possibly 'procedure', not a procedure
> Init()
>    ^

Please provide more context. (at least the line)

    Martin

new topic     » goto parent     » topic index » view message » categorize

3. Re: HUH?

>----- Original Message -----
>From: Alvin Koffman
>To: EUforum
>Sent: Tuesday, January 01, 2002 5:31 PM
>Subject: HUH?
>
>Do what??????
>
>C:\Alvin\test.ex:63
>Syntax error - expected to see possibly 'procedure', not a procedure
>Init()
>   ^

Alvin,
this message means that Euphoria was expecting to see the word 'procedure'
or possibly 'function' but instead found a reference to procedure call.

This means that either you probably forgot to end a procedure with the words
'end procedure', instead you just used 'end'.

Something like ...

  procedure Init()
     -- Does something to initialise the app
  end

  -- Now initialise the app.
  Init()

If the above example is reacoded as ...
  procedure Init()
     -- Does something to initialise the app
  end procedure

  -- Now initialise the app.
  Init()

things could run better.
-------
Derek.

new topic     » goto parent     » topic index » view message » categorize

4. Re: HUH?

Init() 
It is a procedure.
Alvin
Homepage
http://ka9qlq.tripod.com/home/
Where I live.
http://ka9qlq.tripod.com/CCC/
----- Original Message ----- 
From: "Martin Stachon" <martin.stachon at worldonline.cz>
To: "EUforum" <EUforum at topica.com>
Sent: Tuesday, January 01, 2002 6:42 AM
Subject: Re: HUH?


> 
> Alvin wrote:
> > Do what??????
> 
> > C:\Alvin\test.ex:63
> > Syntax error - expected to see possibly 'procedure', not a procedure
> > Init()
> >    ^
> 
> Please provide more context. (at least the line)
> 
>     Martin
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: HUH?

We can certainly see this Alvin..
What Derek is suggesting is, you have a procedure just above Init() that is not
complete,
it does not have "end procedure"

Euman

----- Original Message ----- 
From: "Alvin Koffman" <alvin_ka9qlq at yahoo.com>
> 
> Init() 
> It is a procedure.
> Alvin

new topic     » goto parent     » topic index » view message » categorize

6. Re: HUH?

Well like somebody else hear said a while back "I hope I don't forget
important stuff, like breathing!" That was the fix. Look for a lonely end.
Happy 2k2 everybody!
Alvin
Homepage
http://ka9qlq.tripod.com/home/
Where I live.
http://ka9qlq.tripod.com/CCC/
----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Sent: Tuesday, January 01, 2002 7:00 AM
Subject: Re: HUH?


>
> >----- Original Message -----
> >From: Alvin Koffman
> >To: EUforum
> >Sent: Tuesday, January 01, 2002 5:31 PM
> >Subject: HUH?
> >
> >Do what??????
> >
> >C:\Alvin\test.ex:63
> >Syntax error - expected to see possibly 'procedure', not a procedure
> >Init()
> >   ^
>
> Alvin,
> this message means that Euphoria was expecting to see the word 'procedure'
> or possibly 'function' but instead found a reference to procedure call.
>
> This means that either you probably forgot to end a procedure with the
words
> 'end procedure', instead you just used 'end'.
>
> Something like ...
>
>   procedure Init()
>      -- Does something to initialise the app
>   end
>
>   -- Now initialise the app.
>   Init()
>
> If the above example is reacoded as ...
>   procedure Init()
>      -- Does something to initialise the app
>   end procedure
>
>   -- Now initialise the app.
>   Init()
>
> things could run better.
> -------
> Derek.
>
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu