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

FreeArgs

Free allocated memory after ReadArgs()

Declaration

Source position: amigados.pas line 2344

procedure FreeArgs(

  Args: PRDArgs

);

Arguments

Args

  

The data used by ReadArgs(). May be nil, in which case, FreeArgs() does nothing.

Description

FreeArgs() will clean up after a call to ReadArgs(). If the TRDArgs structure was allocated by the system in a call to ReadArgs(), then it will be freed. If however, you allocated the TRDArgs structure with AllocDosObject(), then you will have to free it yourself with FreeDosObject().

See also

ReadArgs

  

Read bytes of data from a file

ReadItem

  

Reads a single argument/name from command line

FindArg

  

Find a keyword in a template


Documentation generated on: 2021-07-30