[fpc-pascal] Illegal counter variable?
nc-gaertnma at netcologne.de
Mon Sep 9 11:58:50 CEST 2019
On Mon, 9 Sep 2019 11:44:05 +0200
SPRL AFOR <aforsprl at gmail.com> wrote:
> Index variable can neither be initialized nor computed. Read
That page only talks about assigning the loop var *inside* the loop,
which is forbidden.
James question is about the difference between an initialized global
var and a non initialized global var.
My guess is that it has to do with the different exe/linker sections
where these vars are put. Hopefully some compiler guru can explain.
More information about the fpc-pascal