![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
Reserved names for files in REXX programs
Use a period after the filename to access files with the names STDOUT,
STDIN or STDERR in REXX programs. Another method to distinguish the
filenames from the keywords for the standard handles is using the
filenames with a path.
For example use
/* using a period after the name */
call directory( "C:\TEMP" )
curLine = LineIn( "STDOUT." )
/* using a fully qualified path */
curLine = LineIn( "C:\TEMP\STDOUT" )
/* using a relative path */
call directory( "C:\TEMP" )
curLine = LineIn( ".\STDOUT" )
to read the next line from the file C:\TEMP\STDOUT.
(see also Reserved directory & file names and Output & Input control)
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs