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.

Work in Progress / Coming Soon : Arrays

Author
Message
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Jun 2003 22:43
For all your array protection needs.

Hi! I'm MrTAToad. You may remember me from such plug-ins as "Speech! I wish it would shut up" and "Maths: How to annoy people"

Arrays is designed to allow single element arrays to be created by name and then index.

It can handle bytes, shorts, longs, double longs, floats, double floats and strings.
It addition, you can lock single elements or the complete array to prevent data from being modifed.
Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 20th Jun 2003 23:07
cool you gonna include vector arrays? so you can continuosly increase an array's size, i'm getting tired of the old "transfer into temp array, undim original array, dim larger array, transfer into original array" routine

to live is to suffer, to survive, well, thats to find meaning in the sufferening.....
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 20th Jun 2003 23:26
Quote: ""Maths: How to annoy people""


Simple, but useful plugin that. Makes you wonder why ValF wasn't in DBP in the first place though.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 20th Jun 2003 23:44
Resizing an array may be added later, along with (possibly) searching, saving/loading and copying.

Vectors might be an interesting one (2/3/4 lots of doubles should be okay - would only be able to return back to memory though).

Nice to know someone likes my Math plug-in!

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
adr
21
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 23rd Jun 2003 03:08
How about associative arrays?

I use PHP at work, so it ruins my ability to program properly.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Jun 2003 01:26
associative arrays? Pardon ?

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Jun 2003 15:10
Associative arrays let you store a value by name instead of using a number - I use the STL 'map' to do this kind of storage in C++.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Jun 2003 15:29
Well, the closest you can get is defining a string array, and the doing the 'working out' part yourself...

Mind you, you could define two arrays (one string and one, say, integer).

The string one holds the text, which the integer one (created using the string text) would hold the value...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!

Login to post a reply

Server time is: 2024-11-24 13:15:31
Your offset time is: 2024-11-24 13:15:31