View Single Post
  #1  
Old 05-13-2013, 06:01 PM
JohnnyChimpo JohnnyChimpo is offline
Registered User
JohnnyChimpo's Avatar
Join Date: Jun 2004
Posts: 105
JohnnyChimpo is on a distinguished road
For loop problem

Why does this not put the file string into temp.filename array, the output of this is 0.
PHP Code:

const lngNumber 8;

function 
onActionServerside() {
  for (
temp.=0;i<lngNumber;i++){
    
temp.filename[i] = "levels/translations/server_de.po";
  }

This isn't all the script obviously but when i take the for loop out everything works correctly i'm stumped. Thanks in advance.
Reply With Quote