April 20, 2024, 06:48:23 AM

News:

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


First program compiled with Aurora

Started by Ionic Wind Support Team, October 28, 2005, 10:51:49 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Ionic Wind Support Team

syntax is shaping up.  This was the first "real" program compiled by Aurora.


#use "msvcrt.lib"
#typedef UINT unsigned int

/* this is a comment */
// so is this
declare cdecl import,printf(format as STRING,...),uint;
declare cdecl import,_getch(),byte;

sub mysub(unsigned int a),unsigned int
{
a +=2;
return a;
}

global sub main(),INT
{
string str;
str = "Test";
b = mysub(2);
while b<10
{
b++;
}
printf("%s %d hello world\n",str,b);
printf("%d \n",len(b));
printf("Press any key\n",0);
_getch();
return 0;
}


And a screenshot:
Ionic Wind Support Team

Steven Picard

Looking good!

Will Aurora eventually be written in itself?  I hope the IDE will be as well.

Steven Picard

Wll the IDE eventually handle projects like VC++ does where there's a treeview listing all the associated files (classes, resources, etc.) amd double-clicking will open them up in the IDE?