<< SL_FindAppArg | SL_SetAppArgData >> |
Top: Documentation Library | Up: SoftLogik App Library API |
SL_GetAppArgData
NAME
SL_GetAppArgData -- gets data from the argnode->argv array
SYNOPSIS
data = SL_GetAppArgData(apphandle, argname, num);
D0A0 A1 D0
SLCHAR *SL_GetAppArgData(APPHANDLE, SLCHAR *, UWORD);
FUNCTION
Returns the <num> entry from the arg's argv array. This function will
use the temp settings if they have been loaded via SL_LoadTempSettings.
INPUTS
apphandle - an APPHANDLE as returned from SL_AppInit.
argname - the name of the argument to get data from.
num - the argument's argv data index to get.
RESULTS
data - the value of the <num> entry in the named arg's argv array.
NULL is returned if the argument could not be found or if the
index was invalid for that argument.
EXAMPLE
defdir=SL_GetAppArgData(apphandle, "FILES", 1);
SEE ALSO
SL_DeleteAppArg, SL_FindAppArg, SL_SetAppArgData, SL_GetAppArgCV, SL_SetAppArgCV, SL_LoadSettings, SL_SaveSettings, SL_LoadTempSettings, SL_SaveTempSettings, SL_FreeTempSettings.
SL_GetAppArgData Command Section By Type url:SL_GetAppArgData
created:2008-03-01 23:36:13 last updated:2008-03-01 23:36:13
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For SL_GetAppArgData | sign in to add a comment |
There are no user contributed comments for this page. |
<< SL_FindAppArg | SL_SetAppArgData >> |
Top: Documentation Library | Up: SoftLogik App Library API |