Retrieving values from a file

Discuss issues and ideas you have to configuring displays with PowerVision
mbowdich
Posts: 209
Joined: Tue Oct 05, 2010 10:54 am

Retrieving values from a file

Post by mbowdich » Tue Jul 12, 2011 9:17 pm

I need to retrieve values from a file and pass them on to variables in the database. It looks like they have to be type Double to be passed in. I have tried, but I have only been able to manipulate string in or out of files.

I would prefer to read the data in as binary, rather than having the data stored as numeric text. I tried using several of the functions [readUInt(length), readInt(length), readDouble(), readFloat()] from http://www.angelcode.com/angelscript/sd ... _file.html , but I cannot get any to work.

I have a very strong need to be able to store and retrieve binary date from a file.
dwills
Enovation Controls Development
Enovation Controls Development
Posts: 26
Joined: Fri Jul 30, 2010 8:27 am

Re: Retrieving values from a file

Post by dwills » Thu Aug 18, 2011 4:17 pm

The version of AngelScript that we support is older than the version documneted on the website, so not all of the functions are supported at this time.
mbowdich
Posts: 209
Joined: Tue Oct 05, 2010 10:54 am

Re: Retrieving values from a file

Post by mbowdich » Fri Aug 19, 2011 6:36 am

I have found a work around.

However, when support for something is referencing a website, then you should make sure that the website referenced is the correct version, or obtain a copy of the correct version documentation and reference that.