RP_set_integer
hi, i need set a variable in the Scheme.sch, but in Linux it doens't work:
RP_Set_Integer("newfdd",newfd); Has anyone suggestions ? |
Re: RP_set_integer
You swaped the UDF and Sheme environment
RP_Set_Integer.... can only be used in UDF's (set scheme vars from within the C environment. The equivalent Scheme command would be (rpsetvar 'newfdd newfd) but I don't know what newfd and newfdd are (and neither does fluent it seems) so they need to be defined first |
Re: RP_set_integer
I use UDF and Scheme, the problem is on Linux. On windows it works fine, but on Linux RP_set_integer doesn't work.
|
Re: RP_set_integer
thank you angelo, I found out the problem. I was using (set! old-flagd (rp-var-value'oldfd))
in my scheme, but on linux rp-var-value don't work, but: (set! old-flagd (%rpgetvar 'oldfd)) works fine. |
All times are GMT -4. The time now is 18:16. |