Re: HUH?

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

>----- 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 thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu