couple o' questions

David Farber dfarber at numenor.com
Tue May 19 12:36:29 UTC 1998


>API call names can be symbols or strings. Try this
>
>aoVWriteDevice: deviceNumber channel: channelNumber voltage: voltage
>  <api: 'AO_VWrite' ushort ushort double short>
>  ^self invalidArgument

doesn't work. i get an "Invalid Argument" error. when i inspect the call
stack, i see that <deviceNumber> is set to self, <channelNumber> is set to
what <deviceNumber> should be, and <voltage> is set to what <channelNumber>
should be.

dave

--
        j. david farber
    oo architect+mentor
numenor labs incorporated
in sunny boulder colorado
    dfarber at numenor.com
        www.numenor.com





More information about the Squeak-dev mailing list