initializing valentina
Robert Brenstein
rjb at rz.uni-potsdam.de
Wed Jun 25 19:19:56 CDT 2003
> i am using valentina vxcmd (1.9.8b4) with revolution 2.0.1 and mac os
>9.2.2. I am simply trying to initialize the kernal and it seems to me that
>that is not working. The documents say that the Init function returns:
>"integer". but when i type in the message box of revolution:
>
>put valentina("Init",8*1024*1024,"<macid>","<windowsid>")
>
> and hit return, _nothing_ is listed. so what is the integer that's supposed
>to be returned, the size of the cache? so if i get <blank> that means it
>didn't initialize right? why not?
>
> also, i want to install the dcon debugging display program, but the url
>given does not work; when i try to access it i am told that such person does
>not have a mac homepage. where can i get it?
>
> thanks.
>
>rand
Empty response means success. Docs are not correct here, I think. It
probably returns an integer in RealBasic.
I have dcon 1.3 demo in my archives, so contact me off list if you
can't find it elsewhere. However, I am sure whether 1.3 is compatible
with 9.x since I haven't used it for quite a while. I found that for
normal debugging it did not provide any useful info. You just need to
SetDebugLevel to 2 and carefully check any returned content for
errors. Watch that while normally you get "error nnn", a few
Valentina calls return true/false and sometimes getting 0 may mean
trouble.
To make your life easier, you may want to write a central kernelError
function that you can use after each call. Fo rexample
get valentina("Init",8*1024*1024,"<macid>","<windowsid>")
if kernelError(it,"init") then exit ...
Robert Brenstein
More information about the Valentina
mailing list