[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> eliminating items randomly from a list




Brian wrote:-
>An array is a preallocated, contiguous block of computer memory.
>In other words, you decide ahead of time that you need exactly 43
>elements in the array, and you ask the operating system to find you
>a block of size 43 (of whatever you're going to put into the array;
>in Logo this would be 43 pointers to arbitrary data structures).

In JavaScript there is the option of keeping arrays open ended,

eg. you can write

textArray = new Array();

rather than

textArray = new Array(21);

-- Bill Kerr

---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home