System-defined global variables

Previous Next

After you have set the language for a Binder project, or executed one of the following methods:

FileExists()

CommandWindows()

 

You can use a system-defined global variable to get the result:

System-defined

global variable

Result of

Return Value

global.language

Setting the language property in USoft Binder.

This is a project property.

{ language-name | }

 

global.fileExists

FileExists(filepath)

{ True | False }

global.system_result

CommandWindows

(command)

{   Success

|   Out of memory

|   File not found

|   Path not found

|   }

If a language has been set, the global.language variable contains this setting, otherwise it contains an empty string.

As with other variables in path syntax, refer to the value of the global using a colon:

:"global.fileExists"

 

Global.system_result returns an empty string if the CommandWindows() command has failed for another reason than Out of memory, File not found, or Path not found.

 

See Also

User-defined global variables