Added in 1.9.0
Returns the next character from current position in an open file.
name|N - Name of the file or the Nth file.
; Open a file. /fopen Example Example.txt ; Add some text to the file. /fwrite Example Hello World ; Read the next character. //echo -ag Next char is: $fgetc(Example) ; Close the file. /fclose Example ; Delete the file. /remove Example
Updated by Per Amundsen almost 3 years ago · 2 revisions