Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!ogicse!clark!pro-hindugods.cts.com!apollo From: apollo@pro-hindugods.cts.com (Amrit Chauhan) Newsgroups: comp.sys.apple2 Subject: BASIC problem Message-ID: <1991Jun25.054815.8451@clark.edu> Date: 25 Jun 91 03:11:42 GMT Sender: usenet@clark.edu Organization: Proline network. Lines: 37 I am having problems with the VAL command in BASIC. Can someone help me out here? I have a RamFAST SCSI Card in slot 7 mapping partions to slots 7, 2, and 6. I don't know if that can cause this problem, but just in case. Here is a portion of the program: 10 REM - VAL problems 20 INPUT TI$: REM - This variable contains 9600, 2400, 1200, or 300 30 VAL (TI$) 40 END This is not the program. The program itself is rather large, but this is an example of the VAL command that does not work. If I was to run this program with the value of TI$ = 9600, 2400, 1200, or 300, it does: ]run D That's it. The system hangs there just like that and the only way to stop it from hanging is to hit cntrl-RESET. I have tried a variety of syntaxes for VAL like VAL ("9600"), and VAL ("TI") or VAL (TI) and nothing has worked. It just does the same thing. The TI$ variable pulls the baud rate of a user out of a file. That comes out as ASCII text and I need the numerical value associated with it, not the ASCII text. So, anyone that can figure out what's wrong, please help me. Thanks in advance. Amrit ===The Hindu Love Gods BBS - - - - Bloomfield Hills, MI - - - -313/644-0481=== ProLine: apollo@pro-hindugods | Amrit S. Chauhan Internet: apollo@pro-hindugods.cts.com | Voice: 313/644-2971 UUCP: crash!pro-hindugods!apollo | Intel 9600ex Modem in use. ARPA: crash!pro-hindugods!apollo@nosc.mil | PPE member: thanks jwolverton ------------------------------------------------------------------------------- The only ProLine site in the 313 area. Come on, someone buy a ProLine here. :) :-) C:# %-| =|:-)= :<)= `-) :-C :-O :-D B-) 8-:) :-> :-c :*) ===============================================================================