Alice Community  

Go Back   Alice Community > Search Forums

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: louisk
Forum: How do I...? 07-23-2012, 05:03 PM
Replies: 1
Views: 2,240
Posted By louisk
When using a list, is there a way to turn the element number I am on into a string?

So, I am iterating through a list with a For all in order construct....
I want to be able to have each object say "Unit x ready" where x represents the element number in the list (+1 obviously to...
Forum: How do I...? 07-23-2012, 11:18 AM
Replies: 3
Views: 2,452
Posted By louisk
Yeah... thanks... I was hoping there was a way to...

Yeah... thanks... I was hoping there was a way to use an array or list variable to access the custom methods of the objects inside the array/list... but what I am hearing from you (and what I have...
Forum: How do I...? 07-23-2012, 10:25 AM
Replies: 3
Views: 2,452
Posted By louisk
Is there a way to access an objects custom methods when referenced via a list/array

If I create an array or list with several objects, all of which have a private method, is there a way to call those private methods by referencing the list/array variable?

The example would be:
...
Showing results 1 to 3 of 3

 
Forum Jump


Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.