ID:179009
Mar 1 2002, 8:27 am
|
|
Something I've always been a bit ignorant to, what's the difference between var/list/List = new(), and var/list/List = list()?
|
Mar 1 2002, 8:32 am
|
|
The spelling. ;)
|
Foomer wrote:
Something I've always been a bit ignorant to, what's the difference between var/list/List = new(), and var/list/List = list()? Also try: var/List[] = list() var/List[10] var/List[] = new() //never done this one, but should work Isn't BYOND neat? :-) -AbyssDragon |
Foomer wrote:
Something I've always been a bit ignorant to, what's the difference between var/list/List = new(), and var/list/List = list()? There's no difference unless you supply an argument. new /list(n) creates a list with n null elements, whereas list(n) creates a list with n as the one and only element. Lummox JR |
In response to Shadowdarke
|
|
Okay. I was just afraid BYOND might be doing something bad behind my back... :oP
|