[Fluxus] ArgCheck "i" parameter

gabor papp gabor.lists at mndl.hu
Fri Jan 7 01:12:47 PST 2011


hi Dave,

i saw you changed the ArgCheck "i" parameter check from 
(!SCHEME_INTP(argv[n])) to (!SCHEME_INTP(argv[n]) && 
!SCHEME_NUMBERP(argv[n])).

i believe this is not right, since there are functions that require int 
and not number parameters like (build-torus) for example. this version 
accepts (build-torus 1 2 10.1 10.1) for example, which crashes fluxus. i 
fixed a couple of functions lately where there should be an "f" instead 
of an "i" parameter in their ArgCheck call. you might have run into this 
also and changed ArgCheck instead?

best,
gabor



More information about the Fluxus mailing list