Readchar
From Mesham
Jump to navigationJump to searchOverview
This readchar(f) function will read a character from a file with handle f. The file handle maintains its position in the file, so after a call to read char the position pointer will be incremented.
Example
#include <io> var f:=open("hello.txt","r"); var u:=readchar(f); close(a);