20. Writing 4GL Statements : Accessing Files from 4GL : Using File Modes and Types
 
Share this page                  
Using File Modes and Types
All file types and modes can use the openfile(), closefile(), and inquirefile() statements. Other statements can only be used with certain types or modes, as shown in the following table:
Modes
Types
read
create
update
append
binary
positionfile()
readfile()
rewindfile()
writefile()
flushfile()
positionfile()
readfile()
rewindfile()
writefile()
flushfile()
writefile()
flushfile()
text
readfile()
rewindfile()
writefile()
flushfile()
--
writefile()
flushfile()
stream
positionfile()
readfile()
rewindfile()
writefile()
flushfile()
positionfile()
readfile()
rewindfile()
writefile()
flushfile()
writefile()
flushfile()