TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Bill Hemenway
date: 1995-01-07 10:47:36
subject: Help

I can't seem to find what's wrong with the following:

/*Start */
call RxFuncAdd  'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs 

/* Open file for read & write */
   IF STREAM('F:\VXREXX\TEST.TXT','C','OPEN') == 'READY:' THEN
   DO
      /* Position at current end of file */
      CALL STREAM('F:\VXREXX\TEST.TXT','C','SEEK <0')    

      /* Write an extra record */
      CALL LINEOUT('F:\VXREXX\TEST.TXT','Hi Bill')   

      /* Now close the file */
      CALL STREAM('F:\VXREXX\TEST.TXT','C','CLOSE')
   END
   ELSE /* It's locked */
      SAY 'Unable to open '||''F:\VXREXX\TEST.TXT''

Everytime I run it I get:
REX0037: Error 37 running F:\VXREXX\LINE2.CMD, line 9:
Unexpected "'" or ")".

Now it doesn't look wrong at all! What could it be?

Bill


--- Maximus 2.02
* Origin: Hobo's Aerie..Max/RIP..Seymour,CT..OS2 WARP V3 (1:141/570)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 712/353 515 713/888 800/1 7877/2809
@PATH: 141/570 1265 1130 1135 3615/50 229/2 12/2442 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.