The Aurora compiler has just been updated. To get the update redownload from the link provided when purchasing.
Changes/Additions
-------------------------
- Selection in the IDE was not always visible. Fixed.
- Autoindent can be turned off as an option in the "Editor Options" dialog.
- A bug in IDE font calculations was fixed.
- CDictionary added. Base class for:
- CStringAssoc.
- CIntAssoc.
- CPointerAssoc.
- CToolTip class added.
Notes on the dictionary classes:
-------------------------------------------
CDictionary is the base class for all of the associative array classes.
The CStringAssoc and CIntAssoc handle all memory allocations internally. The destructor of all classes perfoms a RemoveAll(true) on destruction so it is not necessary to call it before destuction of the object. CStringAssoc can handle any size of key/value string pairs.
The CPointerAssoc will call DELETE on all associated pointers during destruction. If you want to handle memory deletion yourself then call RemoveAll(false) before the object goes out of scope.
See the example program: assoc_array.src for an example on using the dictionary classes.
Paul you are amazing, the new revisions, the tutorials and with your Mom in the hospital, I really appreciate it thanks so much!!
Thanks. Got to keep the mind busy ;)
Yeah i guess you do Paul, but make sure you put your family first. We will al be here when you return. Thanks for the Auto indent option, really appreciate that too.
Lewis
What exactly is a CAssoc?
declare GetKey(CAssoc *pAssoc),string;
the class doesn't appear to be declared anywhere.
It's an internal structure. Returned by GetNextAssoc. Just a pointer
Didn't we once know a guy who went on and on about associative arrays? ;)
Maybe we should ask him back to take a peek.
The source archive has been updated for the build.
Both the full and demo versions updated to include Larry's latest and greatest help files. You can download the help files from here separately:
http://www.ionicwind.com/forums/index.php?topic=431.msg3750#msg3750
I thought I smelled "hash" -- associative arrays -- around here somewhere.... ::)
Your the primary reason we added it to the official language classes Jerry ;)