View Single Post
  #2  
Old 08-05-2001, 08:11 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Tokenize str will break a string into toekns based on Spaces and Commas

so tokenize HI I,AM BOB;

will give you

#t(0) = HI
#t(1) = I
#t(2) = AM
#t(3) = BOB

Tokenize 2 will let you add more conditions fore tokens so

tokenize2 +,HI+I AM,BOB;

will give you

#t(0) = HI
#t(1) = I
#t(2) = AM
#t(3) = BOB

Since You Delimited the Plus also

board[x+64*y] = boardx+boardy*16;

It think thats the syntax for editing. Dont forget to
UPDATEBOARD X,Y,WIDTH,HEIGHT;
__________________

subliminal message: 1+1=3
Reply With Quote