Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q365

irt.org | About | Feedback | 4234 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q365

Sent by
David Antonini on October 23, 2002 at 12:05:02:

Worth:
Worth reading

Comments:
With the second method, to be able to use arrays of more than 10x10 elements, you can code it that way :
a=new Array()
a["0,0"]=1
a["0,1"]=2
...
a["20,12"]=3

And then to get the value of element x,y (integers) you get it this way:
valuexy=a[x+","+y]
for instance
(a[20+","+12]==3) vaudra true.




Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.