IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Ionic Wind Support Team on October 28, 2005, 10:51:49 PM

Title: First program compiled with Aurora
Post by: Ionic Wind Support Team on October 28, 2005, 10:51:49 PM
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:
Title: Re: First program compiled with Aurora
Post by: Steven Picard on October 29, 2005, 08:04:57 AM
Looking good!

Will Aurora eventually be written in itself?  I hope the IDE will be as well.
Title: Re: First program compiled with Aurora
Post by: Steven Picard on October 29, 2005, 08:08:17 AM
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?