application class : SourceDirectory getter

Description

Returns the path of the directory where the running script file exists.

Syntax

instance.SourceDirectory

Arguments

None.

Return value

ClassDescription
stringA path of the directory.

Sample code

1:

application app;

2:

string path = app.SourceDirectory;

Notes

None.

Links for reference

None.

Copyright © Cooker All rights reserved.