Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

FindArg

Find a keyword in a template

Declaration

Source position: amigados.pas line 2172

function FindArg(

  keyword: PChar;

  arg_template: 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