Re: GPC2 Language Reference
Posted: Sat Dec 03, 2016 1:06 pm
Oh I see. Alright thanks!
High-performance gaming devices.
https://www.consoletuner.com/forum/
The_Rabid_Taco wrote:int32 is just a really large integer value. It can hold values between –2,147,483,648 and 2,147,483,647. That being said it can only hold integers, no decimal places. On the other hand the fix32 values can hold decimal values. Not exactly sure what the max and min are, but these are used for much more precise numbers. Things like setting the stick positions can be set with a precision using a fix32 that can not be achieved with a int32. So the major difference is if you want to have decimal digits or if you just want a solid integer.
The_Rabid_Taco wrote:int32 is just a really large integer value. It can hold values between –2,147,483,648 and 2,147,483,647. That being said it can only hold integers, no decimal places. On the other hand the fix32 values can hold decimal values. Not exactly sure what the max and min are, but these are used for much more precise numbers. Things like setting the stick positions can be set with a precision using a fix32 that can not be achieved with a int32. So the major difference is if you want to have decimal digits or if you just want a solid integer.
UK_Wildcats_Fans wrote:Do you think that you should expand the pmem content by saving 8 bits equal a bit and give examples? For example, if you have a 16 bit variable, it will take Byte 1 & Byte 2; therefore, Byte 3 is the next available variable.
It may be good to have a general variables that defines the ranges, values, etc for the int, unit8, fix32, etc. Also include tips such as fixed variables need to be defined with a decimal (i.e 50.0 vs 50).