Page 1 of 1

nbGetVar function

PostPosted: Mon Apr 16, 2007 2:02 pm
by David de Argentina
Hi Dave,

I'm trying to learn more about Neo SDK.

I had read help file and found nbGetVar function.

I tryed to reproduce them at Powerbasic skeleton. I eceived "Function does not exists" message at compile time.

I tryed to use GetStr function and I received a memory address error always.

Is PowerBasic skeleton updated?

Are there another PowerBasic Programmer who can tell me how do i do in order to fetch NeoBook variables from memory?

Thanks in advance,
David de Argentina

PostPosted: Mon Apr 16, 2007 2:59 pm
by Neosoft Support
Hi David,

I'm afraid that I don't know much about PowerBasic. The sample plug-in code was written by one of our customers. The nbGetVar function is declared at the top of the sample, but there is no GetStr function. Do you mean SetStr?

PostPosted: Mon Apr 16, 2007 3:19 pm
by David de Argentina
Thanks Dave,

I just developed my own function in order to fetch NeoBook variables

if any PowerBasic developer need it, the code is:

FUNCTION GetNeoVariable(NeoVarName$) AS STRING
DIM x AS ASCIIZ PTR
x = STRPTR(NeoVarName$)
FUNCTION = @x
END FUNCTION

Thanks again !

David de Argentina

PostPosted: Thu May 03, 2007 11:46 am
by David de Argentina
Hi,

The above function doesn't work.

I had to do a rare function in order to fetch Neo Variables.

If any Powerbasic developer need it, i will send it.

Best Regards,

David de Argentina