TIP: Click on subject to list as thread! ANSI
echo: os2rexx
to: All
from: Eddy Thilleman
date: 1999-11-10 07:57:11
subject: seek

Hello All,

I've written a REXX file to add missing descriptions about area's for GoldEd.

I tried to seek by giving a variable to the stream function:

BeginOfFile = "seek =1"

check = stream( file, 'C', BeginOfFile )    /* seek to begin of file */

but this results in error messages. I don't understand that.

this works:
check = stream( file, 'C', "seek =1" )    /* seek to begin of file */

So why doesn't work the one with the variable and with a literal string it
does work??

  Greetings   -=Eddy=-        email: eddy.thilleman@net.hcc.nl

... He orders you to surrender this `wessel'! -- Checkov
--- GoldED/2 3.0.1
3615/7
* Origin: Windows95 is a graphic DOS extender (2:500/143.7)

SOURCE: echoes via The OS/2 BBS

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™.