IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Zen on December 07, 2005, 08:56:31 AM

Title: Constants
Post by: Zen on December 07, 2005, 08:56:31 AM
Will there be a way to define text constants? Like in other languages such as PHP and C++

Ive needed this feature quite a lot so it would be great if its implemented.

Thanks
Lewis
Title: Re: Constants
Post by: Ionic Wind Support Team on December 07, 2005, 12:07:19 PM
Yes.  In C style.

#define MS_STRING "a string"

Give me a few more updates though ;)

Paul.
Title: Re: Constants
Post by: Zen on December 07, 2005, 12:10:05 PM
No problem. Just wanted to know if it was going to be part of the finished product. I can cope with using variables for the moment.

Also i know VirusScanner has asked and im interested too.... Macro's????

Thanks
Lewis
Title: Re: Constants
Post by: Parker on December 07, 2005, 06:30:13 PM
Yeah, macros, string constants, enumerations, unions, variable and array initializers ( int x[5] = {1,2,3,4,5}; ) :)
Just as long as they're a part of the final language. I'm hoping macros will make it, I understand though that you don't use them, but they are used in other languages with headers and such. They'd be useful when translating.