Dear,

Welcome to the board.

We just missing following example:

  • based on @error status. mostly used by reading file contents
    code:

    IF (Open(1,"c:\input.txt") = 0)
    $result=ReadLine(1)
    WHILE (@error = 0)
    ? $result
    $result=ReadLine(1)
    LOOP
    IF Close(1)
    ENDIF
    ENDIF



greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA