It seems that angelscript doesn't support octals, any plans for this?
Krusu
Support for octals?
Started by dkrusu, Dec 10 2012 01:00 AM
6 replies to this topic
Sponsor:
#2 Moderators - Reputation: 2348
Posted 10 December 2012 - 06:49 AM
I don't have any plans to implement this myself. However, if you would like to do it and send me a patch I can certainly include it in the SDK.
Regards,
Andreas
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
#6 Moderators - Reputation: 2348
Posted 11 December 2012 - 11:35 AM
Thanks for the patch. I'll look into this as soon as I can and have it merged with the SDK.
Regards,
Andreas
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
#7 Moderators - Reputation: 2348
Posted 22 February 2013 - 07:51 PM
I received another patch from ketmar that added support for binary numbers in addition to octal. I've checked in that in revision 1571.
The nice thing about that patch is the consistency with the prefixes, example:
int binary = 0b11111111; int octal = 0o7777; int decimal = 0d999999; int hexadecimal = 0xFFFFFFFF;
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game







