obj/example/test
obj/example/test1
obj/example/test2
If I have those as exampled, how would I add them all to a list without typing them all out, and using a for() loop.
ID:160148
Nov 8 2008, 5:36 am
|
|
obj/example/test If I have those as exampled, how would I add them all to a list without typing them all out, and using a for() loop. |
Nov 8 2008, 5:40 am
|
|
That? I'm not sure though.
|
You can use the typesof() proc but you'll still need a loop.
var/list/Examples = new |
In response to Xooxer
|
|
I was on the right track ^-^
|
In response to Mizukouken Ketsu
|
|
I worded the original post wrong, I meant to say "using a loop, but not typing them all out"
Anyways, I think my question has been answered. Thanks. |
In response to Xooxer
|
|
(Small note: I'd prefer to use -= or Remove() instead of the - operator; especially if you'll need to remove more than one type.)
|