Filesystem helper functions
OperationsGet the directory where the application was run from. This is where the application data directory is.
function : GetBasePath() ~ String
Type | Description |
---|---|
String | an absolute path in UTF-8 encoding to the application data directory |
Use this function to get the "pref dir". This is meant to be where the application can write personal files (Preferences and save games, etc.) that are specific to the application. This directory is unique per user and per application.
function : GetPrefPath(org:String, app:String) ~ String
Name | Type | Description |
---|---|---|
org | String | the name of your organization |
app | String | the name of your application |
Type | Description |
---|---|
String | UTF-8 string of the user directory in platform-dependent notation |