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

FindArg

Find a keyword in a template

Declaration

Source position: amigados.pas line 2336

function FindArg(

  const Template: PChar;

  const KeyWord: PChar

):LongInt;

Arguments

Template

  

Template string to search

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