[V4REV] Notes on example stack // path to stack folder

Trevor DeVore lists at mangomultimedia.com
Mon Jun 13 23:22:25 CDT 2005


On Jun 13, 2005, at 11:10 PM, Ruslan Zasukhin wrote:

> On 6/14/05 2:56 AM, "Robert Brenstein" <rjb at robelko.com> wrote:
>
>> The Database_CreateCloseOpen stack says it will create a new database
>> in the same folder as this project but creates it in the Revolution
>> folder, one level higher.
>>
>
> Yes I have see this also.
>
> Ivan, you need somehow obtain path to current stask
>
>     pathToDb = Path to stack & "dbname.vdb"
>
> This is not correct syntax, just an idea

get effective filename of stack "win.Subscriptions"
set itemDel to slash
delete item -1 of it
put it &slash& "dbname.vdb" into tPathToDB
put tPathToDB


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the Valentina-beta mailing list