Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

FindArg

Find a keyword in a template

Declaration

Source position: amigados.pas line 2575

function FindArg(

  const KeyWord: PChar;

  const ArgTemplate: PChar

):LongInt;

Arguments

KeyWord

  

Keyword to search for in template

Function result

Number of entry in template, or -1 if not found

Description

Returns the argument number of the keyword, or -1 if it is not a keyword for the template. Abbreviations are handled.

See also

ReadArgs

  

Read bytes of data from a file

ReadItem

  

Reads a single argument/name from command line

FreeArgs

  

Free allocated memory after ReadArgs()


Documentation generated on: 2021-07-30