06-11-2006, 07:56 AM
Aha....so the type of usertype variables in function return should be placed after the typename? hmmm
Thats a inconsistency i didnt know :lol:
So if i want to return a reference like original idea i would use this correct?
And able to use like:
Sorry for not understanding, i should have posted this in programming instead of general (bug) forum...
Thats a inconsistency i didnt know :lol:
So if i want to return a reference like original idea i would use this correct?
function'tJobArrayElement& int'iJobNr
int iLoop
for iLoop 0 JobSystem.JobArray.len
,if(iJobNr = JobSystem.JobArray[iLoop].nr)
,,break
;;;end-for
ret JobSystem.JobArray[iLoop]And able to use like:
Sorry for not understanding, i should have posted this in programming instead of general (bug) forum...
Well thats all for now, 3M

