[fpc-pascal] Illegal counter variable?

James Richters james at productionautomation.net
Wed Sep 11 16:24:30 CEST 2019


I don't know what the syntax would be if it did have a way to do a step

https://wiki.lazarus.freepascal.org/FOR..DO

"In Pascal, the for loop can only count in increments (steps) of 1"

James

-----Original Message-----
From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> On Behalf Of wkitty42 at windstream.net
Sent: Tuesday, September 10, 2019 7:26 PM
To: fpc-pascal at lists.freepascal.org
Subject: Re: [fpc-pascal] Illegal counter variable?

On 9/9/19 10:11 AM, James Richters wrote:
> Pascal doesn't have things like step...

hunh??? i don't think that's right but i'm just catching up after several 10+ hours days of $job...

i know that i've written code in the past that did use something to step X numbers per run through the look and it did not involved manually incrementing the loop var...


--
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.* _______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list