Find a keyword in a template
Source position: amigados.pas line 2336
function FindArg( |
const Template: PChar; |
const KeyWord: PChar |
):LongInt; |
Template |
|
Template string to search |
KeyWord |
|
Keyword to search for in template |
Number of entry in template, or -1 if not found
Returns the argument number of the keyword, or -1 if it is not a keyword for the template. Abbreviations are handled.
|
Read bytes of data from a file |
|
|
Reads a single argument/name from command line |
|
|
Free allocated memory after ReadArgs() |