Dear all,
I would like to create a modification of this code:
rec=0
def autoIncrement():
global rec
pStart = 1
pInterval = 1
if (rec == 0):
rec = pStart
else:
rec += pInterval
return rec
Because I need to populate the elements= 0 with the numbers of a list. Could you help me?
Thank you in advance for your collaboration.
Regards
I would like to create a modification of this code:
rec=0
def autoIncrement():
global rec
pStart = 1
pInterval = 1
if (rec == 0):
rec = pStart
else:
rec += pInterval
return rec
Because I need to populate the elements= 0 with the numbers of a list. Could you help me?
Thank you in advance for your collaboration.
Regards