[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)

FindArg

Find a keyword in a template

Declaration

Source position: amigados.pas line 2380

function FindArg(

  const Template: STRPTR;

  const KeyWord: STRPTR

):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: 2017-01-10