| Title: | Atari ST, TT, & Falcon | 
| Notice: | Please read note 1.0 and its replies before posting! | 
| Moderator: | FUNYET::ANDERSON | 
| Created: | Mon Apr 04 1988 | 
| Last Modified: | Tue May 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 1433 | 
| Total number of notes: | 10312 | 
Hello all,
	
 	Has anybody out there bothered to try ST Basic?? Being the cheapskate
I am I decided to have a quick play with it before I go and and buy a 
decent language.....and to be quite honest I wish I hadn't bothered.
I have not bought the ST Basic Users Guide, well its not worth it I am
going to buy another language, so I am plowing through the give away guide
you get when you buy the ST.	
	I thought I would write a very (VERY) short program to to check out
a few things and it does not behave as expected. Below are two listings
one from VAX basic that does what I expect it to and the ST Basic version
which I cannot get to behave in the same way.
Vax Basic Version.
10 linput "Enter user type: "; user_type$
20 if user_type$ = "temp" or user_type$ = "tech" then goto 50
30 print "Valid user types are tech or temp."	
40 goto 10
50 end
If I run this I get...
Enter user type: ? garbage <---- Input garbage
Valid user types are tech or temp.
Enter user type: ?
This is what I would expect.
St Basic Version
10 line input "Enter user type: "; user_type$
20 if user_type$ = "temp" or user_type$ = "tech" then goto 50
30 print "Valid user types are tech or temp."
40 goto 10
50 end
When I run this I get...
Enter user type: garbageValid user types are tech or temp.
                   ^
             input garbage
Enter user type: 
How can I get the line "Valid user types are tech or temp" to appear on the
NEXT line???
I am just being stupid???
Jason.     
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 242.1 | BENTLY::MESSENGER | Dreamer Fithp | Thu Sep 22 1988 13:21 | 9 | |
|     Re: .-1
    Change this:    
    30 print "Valid user types are tech or temp."
    To:
    30 print:print "Valid user types are tech or temp."
    				- HBM
 | |||||
| 242.2 | Multiple Versions of ST Basic? | RGB::ROST | Ashley Hutchings wannabe | Mon Jan 13 1992 18:29 | 8 | 
|     For lack of a better place to ask this:
    
    Are there multiple versions of ST Basic?  Someone sent me a program
    which won't load properly.  One line uses a statement ASK which my ST
    Basic manual doesn't even show!  The other offending lines use ERA. 
    I'm confused to say the least!
    
    							Brian
 | |||||
| 242.3 | I don't know the differences | YNGSTR::WALLACE | Tue Jan 14 1992 09:05 | 3 | |
| Yes. Ray | |||||
| 242.4 | 3 X Faster | VFOVAX::PATTERSON | The world is flat, it's the universe thats round | Tue Jan 14 1992 13:12 | 4 | 
|     I have not looked into the differences, but when I bought my STE, the
    docs said the BASIC was 3 times faster, and had some new keywords.
    Jim
 | |||||