Gheorghe Postelnicu wrote:
> Hi,
>
> I have a situation of the following type:
>
> for line in lineList:
> for item in line.split()
> myArray[counter, itemCounter]
What do you imagine that the above line is doing? Alternatively, should
you be posting in comp.lang.somelanguageotherthan
On 2006-11-30, Thomas Ploch <[EMAIL PROTECTED]> wrote:
> Gheorghe Postelnicu schrieb:
>> Hi,
>>
>> I have a situation of the following type:
>>
>> for line in lineList:
>> for item in line.split()
>> myArray[counter, itemCounter]
>> itemCounter = itemCounter + 1
>> counter
Gheorghe Postelnicu schrieb:
> Hi,
>
> I have a situation of the following type:
>
> for line in lineList:
> for item in line.split()
> myArray[counter, itemCounter]
> itemCounter = itemCounter + 1
> counter = counter +1
>
> Is there a way to get rid of the manual increme
Gheorghe Postelnicu wrote:
> Hi,
>
> I have a situation of the following type:
>
> for line in lineList:
> for item in line.split()
> myArray[counter, itemCounter]
> itemCounter = itemCounter + 1
> counter = counter +1
>
> Is there a way to get rid of the manual incrementat
Hi,
I have a situation of the following type:
for line in lineList:
for item in line.split()
myArray[counter, itemCounter]
itemCounter = itemCounter + 1
counter = counter +1
Is there a way to get rid of the manual incrementation of the 2 counters?
Thanks,
--
Gheorghe Po