Find a keyword in a template
Source position: amigados.pas line 1638
function FindArg( |
const keyword: pCHAR; |
const arg_template: pCHAR |
):LongInt; |
const keyword: string; |
const arg_template: pCHAR |
):LongInt; |
const keyword: pCHAR; |
const arg_template: string |
):LongInt; |
const keyword: string; |
const arg_template: string |
):LongInt; |
keyword |
|
Keyword to search for in template |
Number of entry in template, or -1 if not found
keyword |
|
Keyword to search for in template |
keyword |
|
Keyword to search for in template |
keyword |
|
Keyword to search for in template |
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() |