Thread: MUDlib
View Single Post
  #7  
Old 01-14-2007, 06:53 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by projectigi View Post
yeah an articles covering:

would be nice =/
PHP Code:
function onCreated()
{
  array = { 
"str", 2, "int", -1, "dex", 1, "luck", 0};
  for( 
i = 0; i < 8; i += 2;)
    echo( array.
subarray( i, 2));
} 
Outputs:

str,2
int,-1
dex,1
luck,0
__________________
Reply With Quote