Thread: Dynamics
View Single Post
  #3  
Old 12-01-2006, 01:30 AM
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
PHP Code:
function onCreated() {
 
temp.func = "onTest";
 
temp.paramz = {1, 2, 3};
 (@
temp.func)(@temp.paramz);
} 
function 
onTest(p) {
 
temp.letters = {NULL, "j", "e", "r"};
 
this.count = 0;
 for(
temp.param: temp.p)
 {
  
this.count++;
  (@ 
temp.letters[this.count]) = temp.param;
 }
 echo(
"Test:" SPC j SPC e SPC r);
} 
Made this fast, dunno if it was something like this
__________________
Reply With Quote