[comp.sys.atari.st.tech] GFA-Basic 3.5E Question

tar@naucse.cse.nau.edu (Tim Roeder) (02/02/91)

Does anybody out in Netland know how to change the format in GFA-Basic's
DATE$ function from European to U.S?

Thanks in advance for any help provided.

Regards,

-- 
Timothy A. Roeder - Northern Arizona University(NAU)/Univeristy of Arizona(UA)
UUCP: ...!arizona!naucse!tar (NAU)
Internet: tar@naucse.cse.nau.edu (NAU) -- troeder@mis.arizona.edu (UA)
Bitnet:   roedert@arizvm1.BITNET (UA)

logajan@ns.network.com (John Logajan) (02/03/91)

tar@naucse.cse.nau.edu (Tim Roeder) writes:
>Does anybody out in Netland know how to change the format in GFA-Basic's
>DATE$ function from European to U.S?

Yes.  Use the    mode 1   command. 

I found that my USA version of the interpreter defaults to mode 1 while the
USA version of the compiler defaults to mode 0.  If you explicity put the
Mode 1 command in your program, both the intepreter and compiler will 
act consistenly.
 
Mode 0, therefore, selects European date format while Mode 1 selects USA
format.

-- 
- John Logajan @ Network Systems; 7600 Boone Ave; Brooklyn Park, MN 55428
- logajan@ns.network.com, 612-424-4888, Fax 612-424-2853

logajan@ns.network.com (John Logajan) (02/03/91)

logajan@ns.network.com (John Logajan) writes:
>I found that my USA version of the interpreter defaults to mode 1 while the
>USA version of the compiler defaults to mode 0.

I should point out that I only have GFA Basic version 3.05u.  But I assume
the mode command still exists in version 3.5.

-- 
- John Logajan @ Network Systems; 7600 Boone Ave; Brooklyn Park, MN 55428
- logajan@ns.network.com, 612-424-4888, Fax 612-424-2853