<< SL_SetAppArgCV | SL_SaveSettings >> |
Top: Documentation Library | Up: SoftLogik App Library API |
SL_LoadSettings
NAME
SL_LoadSettings -- loads the applications settings from a file.
SYNOPSIS
success = SL_LoadSettings(apphandle, filename);
D0 A0 A1
SLFLAG SL_LoadSettings(APPHANDLE , SLCHAR * );
FUNCTION
This loads the settings from a file into the applications
default arguments/settings area.
All arguments read in will override the current arguments.
If the filename argument is NULL, then the default settings
file is used. The default settings file is either the file
specified by the APPARG_SETTINGS argument (if the OS specific
app library suports that argument) or it is a filename determined
by the OS specific app library. On the Amiga the default filename
is the APPATTR_Name + ".prefs". The Amiga app library does support
the APPARG_SETTINGS argument.
INPUTS
apphandle - as returned by SL_AppInit.
filename - the full path name of the settings file to load.
If this is NULL, then the default settings file for
the application is loaded.
RESULTS
success - TRUE if the file loaded with no problems.
FALSE if it was not loaded.
SEE ALSO
SL_DeleteAppArg, SL_FindAppArg, SL_GetAppArgData, SL_SetAppArgData, SL_GetAppArgCV, SL_SetAppArgCV, SL_SaveSettings, SL_LoadTempSettings, SL_SaveTempSettings, SL_FreeTempSettings.
SL_LoadSettings Command Section By Type url:SL_LoadSettings
created:2008-03-01 23:36:14 last updated:2008-03-01 23:36:14
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For SL_LoadSettings | sign in to add a comment |
There are no user contributed comments for this page. |
<< SL_SetAppArgCV | SL_SaveSettings >> |
Top: Documentation Library | Up: SoftLogik App Library API |