1. Date has not been declared

procedure main()
   sequence a

   a = {}
   a = Date()

end procedure

main()

Why do I keep on getting this error?
How do I declare date()?

test.ex:11
Date has not been declared
   a = Date()
          ^

new topic     » topic index » view message » categorize

2. Re: Date has not been declared

Hello Arlie,
      If I'm not wrong, you're talking about euphoria's built-in
      date(). Remember that eu4 it's case sensitive, so be careful
      with cases.
      Well, to run your code well, you have to replace a = Date() with
      a = date().

      That's all.

--
Best regards,
 Caballero Rojo                            mailto:pampeano at rocketmail.com

Thursday, February 10, 2000, 9:43:55 PM, you wrote:

AC> procedure main()
AC>    sequence a

AC>    a = {}
AC>    a = Date()

AC> end procedure

AC> main()

AC> Why do I keep on getting this error?
AC> How do I declare date()?

AC> test.ex:11
AC> Date has not been declared
AC>    a = Date()
AC>           ^



__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

3. Re: Date has not been declared

Thanks. I overlooked that euphoria is case-sensitive.
Regards,
Arlie

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

Search



Quick Links

User menu

Not signed in.

Misc Menu