ENIGMA Development Environment
Home
About
Download
Wiki
Forums
EDC
Games
Tracker
Progress
Guest |
login
|
register
Commit to
enigma-dev
by
time-killer-games
: "
Add focus wait to Zenity/KDialog (#2198)"
(at 2021-03-28 22:54:56;
Click here to view
.)
ENIGMA Forums
>
General fluff
>
Announcements
>
Changes
Pages:
«
1
2
« previous
next »
Print
Author
Topic: Changes (Read 10627 times)
Josh @ Dreamland
Reply #15 Posted on:
December 08, 2009, 09:17:00 pm
Prince of all Goldfish
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950
No, they're not. A used element is used. Permanently. I can allow for the array to be manually resized by the user. It'll look something like this:
var a;
a[0] = 1; a[1] = 2; a[2] = 3;
//Method 1:
a.resize(2);
//Method 2:
array_resize(a,1);
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall,
Friends of Voltaire
RetroX
Reply #16 Posted on:
December 09, 2009, 09:02:35 am
Master of all things Linux
Location: US
Joined: Apr 2008
Posts: 1055
a.resize() is probably better.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars?
jimmyjames
Reply #17 Posted on:
December 09, 2009, 08:24:22 pm
Joined: Apr 2008
Posts: 2
Quote from: RetroX on December 07, 2009, 08:20:49 pm
Vista isn't bad. ME was bad.
Couldn't help myself.
Logged
Pages:
«
1
2
Print
« previous
next »
0