PDA

View Full Version : Solved: A "funtion" related question



irresistible
11-16-2006, 01:10 AM
Is it possible for a function to set a value of a Integer-variable to the current loop no...? explaination below

There is a loop (for instance, 'nindex') running in a public procedure, each time the loop runs it does something based on a value of a variable(for instance 'mystep'). The value of 'mystep' has to be set by a function based on the current loop number of nindex as well as based on other thingy as well

irresistible
11-16-2006, 01:15 AM
okie... sorry to bother.. i figure it out my self... instead of declaring the nindex in the procedure... I declared it under declaration section of module