readfloat32()

Jun 2, 2006 at 8:30pm

readfloat32()

Hi,
does readfloat32 take care of parsing whitespace etc. for you? Or do
you have to seek to the first number in the text file and then call
that method?

thanks,
wes

#26262
Jun 2, 2006 at 8:37pm

Sounds like you’ll want to use string’s parseFloat() method or some
other regexp based solution. readfloat32() is for reading binary
floats from files (and in MaxMSP 4.5.7, only in platform native byte
ordering, fixed in the next Max release).

http://developer.mozilla.org/en/docs/
Core_JavaScript_1.5_Reference:Global_Functions:parseFloat

-Joshua

#78181

You must be logged in to reply to this topic.