April 23, 2024, 08:48:47 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Constants

Started by Zen, December 07, 2005, 08:56:31 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Zen

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

Ionic Wind Support Team

Yes.  In C style.

#define MS_STRING "a string"

Give me a few more updates though ;)

Paul.
Ionic Wind Support Team

Zen

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

Parker

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.