You can use a local, but you have to make its scope global. Just do
this before you assign to it:
Great thank you.
You mean if you don't use c_pointer first?
Yes that right.
Regards, Michael.
On 30 Sep 2005, at 14:52, Aparajita Fishman wrote:
In this instance I do need a process variable as it is passed via
a column map in a rowset - I want to avoid having to call
idp.utils.GetConcordanceFieldPtr in the rowset loopback as this
will slow things down.
You can use a local, but you have to make its scope global. Just do
this before you assign to it:
global($concordancePtr)
$concordancePtr := idp.utils.GetConcordanceFieldPtr
In your RowSet row callback you make sure you put "global
($concordancePtr)\r" first before referring to $concordancePtr.
If I don't attempt to declare the pointer in A4D, the line
vConcordanceFldPtr := idp.utils.GetConcordanceFieldPtr //
return a pointer to the current language field
executes successfully and A4D makes vConcordanceFldPtr a pointer.
You mean if you don't use c_pointer first?
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/