alice-teacher Lists in Alice 3
Vanderhyde, James
vanderhyde at sxu.edu
Tue May 28 12:33:21 EDT 2024
Are you asking about removing items programmatically, or from the interface? In the interface, you can remove items, but it is hidden. If you click on an item in the array, the item changes color and an X appears in the corner. Click the X to remove the item.
There is no way I know of to remove items from an array programmatically, although you can change items. I suppose you could put a dummy value in to show nothing is there. Like Java, you can’t change the size of an existing array.
James
—
James Vanderhyde
Associate Professor
Computer Science
Saint Xavier University
3700 W. 103rd St.
Chicago, IL 60655
773-298-3454
vanderhyde at sxu.edu
sxu.edu
On May 23, 2024, at 12:55 PM, Carlos Bovell via alice-teachers <alice-teachers at lists.andrew.cmu.edu> wrote:
[EXTERNAL EMAIL] CAUTION: This email originated from outside of the organization.
Hi,
We found an old post online explaining that items can't be removed from a list in Alice 3. Is that still the case? Should we keep on building new lists?
Best,
Carlos Bovell
Northern Burlington High Schoo
_______________________________________________
alice-teachers mailing list
alice-teachers at lists.andrew.cmu.edu<mailto:alice-teachers at lists.andrew.cmu.edu>
To change settings or unsubscribe visit:
https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20240528/ebcc09d2/attachment.html>
More information about the alice-teachers
mailing list