|
Nitro420 Newbie
Joined: 06 Jan 2002 Posts: 3 Location: USA
|
Posted: Tue Oct 08, 2002 9:27 am
%ismember and stringlist functions |
when I #ADDITEM Team Eluri and then
#show %ismember("Eluri","Team")
I get 0.... If I am correct I should get a 1? I have tried every variation of punctuation and lack of signs that I can.. The only odd thing is that if you #show %ismember("Eluri","Team) Then it will return 1. as well as #show %ismember("Eluri,"Team")
or any other variation.. it does not make it work, it just always returns true if there is an odd number of " signs it seems.... Any ideas/help is appreciated...
Heh |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Oct 08, 2002 11:03 am |
The correct way to access data stored in variables is with the @ symbol. Your variable is named Team. So the usage of ismember would be #SHOW %ismember("Eluri",@Team)
|
|
|
|
Nitro420 Newbie
Joined: 06 Jan 2002 Posts: 3 Location: USA
|
Posted: Tue Oct 08, 2002 8:18 pm |
And after all that thinkin, it ends up bein that simple.. Figures ;)
Thanks :)
Heh |
|
|
|
|
|