3.3.21. scriba_GetConfigFileName()

[<<<] [>>>]

This function tells whet the configuration file is. There is no need to call this function to read the configuration file. This is needed only when the main program want to manipulate the configuration file in some way. For example the command line version of ScriptBasic uses this function when the option -k is used to compile a configuration file.

The first argument has to be a valid ScriptBasic program object. The second argument should point to a valid char * pointer that will get the pointer value to the configuration file name after the function returns.

int scriba_GetConfigFileName(pSbProgram pProgram,
                             char **ppszFileName
The function returns zero if no error happens, or the error code.
[<<<] [>>>]