![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi.
What data types in Basic4ppc am I able to use to read and write unsigned values to and from a file? E.G. An unsigned 32-bit Integer? Are 64-bit integers equivalent, or decimals, or doubles, or single? Thanks. |
|
|||
|
Hi. I actually haven't started working on anything involving such types, however I want to port over another source code from another language to Basic4ppc for use in my program but the language uses lots of unsigned numbers for storing data to a file. So with Basic4ppc does it really matter how data is stored as long as I use the same techniques to get it back? E.G. An unsigned integer in this other language ranges from 0 to 42949672955, where as signed 32-bit Integers range from -2147483648 to +21474836477. I guess my question is can Basic4ppc handle these and what array types do I need to use to store and retrieve values like these? What's confusing is that both the decimals and doubles described in General.txt have the letter E in them and I am not sure how to interpret whether or not those types are the right ones for arrays holding huge values like the ones listed above. Thanks.
|
|
||||
|
Quote:
Erel - for clarification. I haven't tried it but does B4PPC automatically convert individual array elements when passing them singly? e.g. array(x) of an array of Bytes being passed as an Int32 parameter to a library. |
|
||||
|
Quote:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Array inside Struct | fjsantos | Questions & Help Needed | 2 | 06-17-2008 05:28 PM |
| Colour Values | Zenerdiode | Questions & Help Needed | 2 | 05-20-2008 06:01 AM |
| Concatenation of values shown in a textbox | mozaharul | Questions & Help Needed | 8 | 03-20-2008 08:36 AM |
| Wrong values on GPS | Roadrunner | Bug Reports | 1 | 01-31-2008 08:10 PM |
| Move an image inside an image control | Cableguy | Questions & Help Needed | 5 | 05-14-2007 08:40 PM |