Jump to content

load numbers


photo

Recommended Posts

Posted

Hi Support,

 

When I try to load numbers no matter if it's File::readInt() or File::readFloat() I get some huge numbers (e.g. 1645353).

 

When I load chars or line (File::readChar(), File::readLine()) all is ok.

 

Ok, I've found samples and I make it same way (but in samples they are not loading integers, just text). Attached code and log.

 

Please can you assist me and provide an example, thanks.

 

Regards,

Cory

Posted

File::readInt() and File::readFloat() functions return data in binary format.

Posted

For reading lines from file which contains not binary data, please, use File::readLine() or File::readChar() functions.

×
×
  • Create New...