The Dink Network

Reply to Re: Array, away?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 23rd 2009, 04:29 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Short answer? No.

Long answer? Not as such, though there are tricks to have array-like structures.

Most likely to work: This basically works by storing the array information in editor_seq and editor_frame of editor sprites [1..whatever]. For this to be useful, you need to not have any editor-placed sprites on that screen that make use of editor_seq and editor_frame.

Less likely to work: This works by having an array of numbered variables, such as &1, &2, &3, etc. Then iterate through them by setting &i = 1; say_stop("&&i",1); &i += 1; Though as the thread indicates, it may only work in say() and friends. Needs more playing around with.

But no. DinkC doesn't have arrays.