Function Reference / getPackDirectoryCall this function to get the absolute path of the application.
prototype
sDirectory = application.getPackDirectory ( )
description
This function returns the path of where the application is located.
return
String - The pack directory
sample
User Contributed Notes getPackDirectory
Welcome to the ShiVa Manual user note systemYou may contribute notes to the ShiVa manual by adding comments in the form below, and, optionally your email address and/or name. And the note will appear under the documentation as a part of the manual after about an hour. How to enter informationNote that HTML tags are not allowed in the posts, but the note formatting is preserved. LUA code blocks will be source highlighted automatically. (Double-check that your note appears as you want during the preview. That's why it is there!) The Anti bot challenge requires only to leave the field empty. What not to enterUser notes may be edited or deleted, and usually a note is deleted because of the following reasons:
Additional informationPlease note that periodically the developers go through the notes and may incorporate information from them into the documentation. This means that any note submitted here becomes the property of Stonetrip. Lucka
Friday 22nd of July 2011 07:31:27 PM
TYVM you've solved all my problems
|