Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Empty an array

Author
Message
Poliedro
12
Years of Service
User Offline
Joined: 21st Mar 2012
Location:
Posted: 21st Mar 2012 19:10
I have testing arrays and i found a method to empty an array without a iteration. This is the code:

I have an array like this:


Well, i can redeclare the same array like this:


And again declare array:


and voila

--------------------------
Doing Something
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 21st Mar 2012 22:05
Actually - that's v helpful - a bit like a redim command.

It would be really useful if TGC added IanM-like sorting commands (on UDT arrays etc)...

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 1st Apr 2012 20:28
We always eager to learn what else we can add to the feature set. If you have a think about specific commands you want as a priority, you can post them here (http://code.google.com/p/agk/issues/list) and we can declare them as feature requests for future updates.

I drink tea, and in my spare time I write software.

Login to post a reply

Server time is: 2024-11-23 07:39:56
Your offset time is: 2024-11-23 07:39:56