PickBASIC / FlashBASIC
%fgetc() function
.mdThe %fgetc() function returns the next character from the named input stream.
Syntax
var = %fgetc((char*)strea)m
Description
The character is returned as a number. Normal usage would override the type (see the example below). The getc() and getchar() system functions cannot be used because they are macros, rather than functions.