couple o' questions

David Farber dfarber at numenor.com
Wed May 20 04:37:34 UTC 1998


i changed double to float and still was getting errors. i am still not
convinced that it is handling the underscore (or api names in a string)
correctly.

dave

At 04:20 PM 5/19/98 -0000, you wrote:
>David,
>Float arguments are not implemented, yet.
>(See ExternalInterface>>#adaptArgumentDouble under 'arguments' category)
>:-(
>Provably in the near future I will have some time to implement it.
>Try to use long integers to code voltages.
>   e.g.:    (realVoltage * 100) truncated
>I know it is not fun, but it will work.
>Ale.
>
>----------
>Desde: 	David Farber[SMTP:dfarber at numenor.com]
>Enviado el: 	Martes 19 de Mayo de 1998 09:36
>Para: 	squeak at cs.uiuc.edu
>Asunto: 	RE: couple o' questions
>
>
>>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
>
>
>Attachment Converted: c:\eudora\dfarber_num\attach\RE couple o' questions2
>

--
        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