Reads a single argument/name from command line
Source position: amigados.pas line 2176
function ReadItem( |
name: PChar; |
maxchars: LongInt; |
cSource: PCSource |
):LongInt; |
maxchars |
|
Size of the buffer. Must be at least 1 (for the #0 terminator). |
cSource |
|
A ready to use TCSource structure or nil which means 'read from the input stream'. |
Read an item from a given character source. Items are words or quoted strings separated by whitespace or '=' just like on the commandline. The separator is unread and the output string is terminated by a #0 character.
|
Read bytes of data from a file |
|
|
Find a keyword in a template |
|
|
Makes a char available for reading again. (buffered) |
|
|
Read a character from the specified input (buffered) |
|
|
Identify the program's initial input file handle |
|
|
Free allocated memory after ReadArgs() |