application class : JSStorageDirectory getter

Description

Returns a path of the file storage directory for JavaScript.

Syntax

instance.JSStorageDirectory

Arguments

None.

Return value

ClassDescription
stringA path of the directory.

Sample code

1:

application app;

2:

string path = app.JSStorageDirectory;

Notes

You can access local files in the storage subdirectory of Cooker's execution directory directly from JavaScript.

File I/O is restricted to direct child files in the storage subdirectory.

Links for reference

None.

Copyright © Cooker All rights reserved.