PreviousNext
Help > Development > W-Language Functions for AS/400 > IFS functions > ASfOpen > Example
Example


nHdl
= ASfOpen("/textes/text_to_read.txt",ASfoUnicode)

IF nHdl = -1 THEN

 Error(ErrorInfo())

 RETURN

END