Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- MICROSYS C & Clipper Functions - <b>fileon()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
fileon()


Syntax:     fileon(<expC>)

Purpose:    Direct output to file

Arguments:  <expC> A file name

Returns:    A logical value

Note:       If file already exists, it will be truncated to 0 bytes!

Library:    TC_SYS.LIB

----------------------------------- Example ----------------------------------

   if( fileon("xxx.txt") )
       @0,0 say "Hello World!"
       eject
       fileoff()
   endi

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson