Thomas Chust <[EMAIL PROTECTED]> writes: > if I'm not mistaken, easyffi generates parameter style procedures to acces > global C variables, probably because it is impossible in CHICKEN to create > "magic" Scheme variables that map directly to C variables. > > Therefore the correct way to use my_pi in your example would be > > (print (sin (my_pi)))
Hm, this seems hiding the error. Now, my_pi is 0.0, ... (use format-modular) (display (format "(my_pi) = ~A, (sin (my_pi)) = ~A\n" (my_pi) (sin (my_pi)))) => (my_pi) = 0.0, (sin (my_pi)) = 0.0 -- William http://williamxu.net9.org _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
