I'm playing around with Purebasic's Library SDK and using the examples, have created a simple lib which returns int's, floats and strings. I want to know if it's possible to share variables between the lib and PB e.g. if I do something like this :-
How do I access the above variable inside PB? I have tried setting the value of TestVal inside the lib but everytime I try to retrive the contents, I get a zero (obviously it seems PB initializes a new variable of that name and is not accessing the lib?!?).