[V4REV] inStrPath question
Ruslan Zasukhin
sunshine at public.kherson.ua
Sat Jun 18 09:54:58 CDT 2005
On 6/18/05 8:28 AM, "ron barber" <rbarber at yhb.att.ne.jp> wrote:
> Hi Ruslan,
>
> What is the correct form for the "inStrPath The path to the
> database on the disk. "?
>
> From your example stack:
>
>> function CreateDbFiles
>> put "Database1.vdb" into mPath
>>
>> put VDatabase_Constructor( EVStorageType.kDefault ) into mDBRef
>> get VDatabase_Create( mDBRef, mPath, EVDbMode.kDscDatBlbInd, 32 *
>> 1024, EVOs.kOsDefault )
>>
>> end CreateDbFiles
>
> As you can see from the example, it seems to just use the name of the
> file. Does this mean the file must be at the same level as the
> application?
No. it can accept FULL path.
Strange, I do not know why Ivan have made it in this way.
We have told with him about
PathToStack & Filename
Btw, note, that for Server you really should give only fileName
> When I fill the parameter with a filepath from Rev's answer file
> command, the Val function crashes.
I will ask Ivan.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina-beta
mailing list