IonicWind Software

Aurora Compiler => Update Announcements => Topic started by: Ionic Wind Support Team on May 31, 2006, 01:06:27 AM

Title: Aurora update Alpha 3 Rev 4
Post by: Ionic Wind Support Team on May 31, 2006, 01:06:27 AM
The Aurora compiler has just been updated.  To get the update redownload from the link provided when purchasing.

Changes/Additions
-------------------------
- Class method implimentation can now be written within the class definition.
- A bug in include file processing was fixed.
- C2DSurface::GetSurfacePointer and C2DSurface::GetSurfacePitch methods added.
- A few problems with auto indentation were addressed.
- The Subs/Methods pulldown was recognizing non methods.  Fixed.
- A DECLARE EXTERN is now ignored if the subroutine appears in the same source file.

More information about class methods within class definitions.  A class method is normally defined outside of the class definition using the :: operator.  Beginning with this revision you can create the method directly within the definition like so:


class test
{
uint m_uData;
float m_flData;
point pt;
int m_nData;
declare virtual blah2(),int {return 0;}
declare test()
{
m_nData = 99;
m_flData = 1.0f;
m_uData = 0xFFFFu;
}
declare GetIt(),int
{
return m_nData + 1;
}
}


This is useful for creating accessor methods (get/set) and smaller methods that don't warrant separating the implimentation. 

If your going to use methods embedded in the class definition you should be aware of the following:

#1.  Methods defined in an include file will increase compile time and make the resultant object files larger.  It will have no effect on the final size of the executable though. 

#2.  Member variables should be defined ahead of any embedded methods that reference them.  Or you should at the minimum use #autodefine "OFF" to report accessing of member variables before they are defined.

-------------------
The demo version has also been updated.

Have fun.

Paul.
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Bruce Peaslee on May 31, 2006, 10:44:30 AM
Thanks, Paul. This language is starting to hum.
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Ionic Wind Support Team on June 01, 2006, 12:50:40 AM
Thanks.

The source library has been updated for this release.
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Vikki on June 02, 2006, 09:32:20 AM
Hi Paul,

Should the About Box be reporting Alpha 3? I uninstalled and installed the latest version but it reports Alpha 2. Just want to be sure I'm working from the most current version.  ;)
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Ionic Wind Support Team on June 02, 2006, 09:34:42 AM
Yes it should. Do you have two installations perhaps?  Had it running when you uninstalled?  The about box also shows the current compiler (acparse) version which is 1.0.0.304

Title: Re: Aurora update Alpha 3 Rev 4
Post by: Vikki on June 02, 2006, 09:40:38 AM
Hrm, ok, I'll unistall and try again.  ;D Thanks!
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Ionic Wind Support Team on June 02, 2006, 09:43:08 AM
And the other thing I have seen...two different downloads.  Perhaps you have an older .zip hanging around. 
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Vikki on June 02, 2006, 09:46:21 AM
That's what I thought I did but I tried it a couple of times. I do keep the old zips in different folders from habit. Just like with the help file, I had to uncheck the security warning and do it again. That solved it. Not sure what I've got set up in this computer, it's new, but every time I open and install something that isn't signed or whatever I get that security warning. If I uncheck the Alway check box then things do what they are supposed to. Anywho, I'll do a little research into that after I play abit. Thanks!  8)
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Ionic Wind Support Team on June 02, 2006, 09:47:55 AM
Probably becuase your using IE to download it with. 
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Vikki on June 02, 2006, 09:52:29 AM
Yes, you are correct. I'll use something else from now on then if IE is gonna do that.  ;)
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Ionic Wind Support Team on June 02, 2006, 09:58:04 AM
It is Microsofts solution to security.  Just block everything downloaded from running if it isn't signed.  Then if the user unblocks it they don't have any resposibility.  Much cheaper for them then actually fixing the holes ;)
Title: Re: Aurora update Alpha 3 Rev 4
Post by: Rock Ridge Farm (Larry) on June 02, 2006, 10:30:37 AM
I use firefox and have no issues. The only problem I ever had was I had a second install in a different location
that was being picked up - made for a fun afternoon - I deleted all Aurora installs and it worked fine after that.