[fpc-devel] Declare variables inside the code
Joerg Schuelke
joerg.schuelke at gmx.de
Tue May 10 23:29:45 CEST 2011
Am Tue, 10 May 2011 23:50:29 +0200
schrieb Hans-Peter Diettrich <DrDiettrich1 at aol.com>:
> The syntax would look like:
>
> Block = "BEGIN" [Declarations] {Statement} "END" .
Yea, it looks like C, but it is not. The difference in C like languages
is that an declaration is just a kind of statement. Without this, I
think it makes no sense. But then you code C-like with pascal keywords.
Jörg
More information about the fpc-devel
mailing list