1. Re: incrementing loop indexes

Bernie wrote:

> I find it a pain to have to convert a for loop
> into a while loop when translating from a "C"
> program into euphoria program.

I've also found it a pain. A typical example is parsing a string, and
looking for an end quote. If I encounter a '\' character, I want to skip it,
because '\"' is special. But you can't do that in a 'for' loop, so I
typically have to set a flag, or zap the following character into a space,
or some similar hack.

-- David Cuny

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu