Closed GoogleCodeExporter closed 8 years ago
Yes, this is mentionned there
http://code.google.com/p/dwscript/wiki/SourceStructure
and is the case in script/mixed mode, as implementation & variable/type
declaration can be mixed together, so it's a syntax requirement (otherwise some
code becomes ambigous)
If you have a classic unit structure (with interface/implementation), then the
same limitations as in classic Pascal/Delphi apply, and type declaration blocks
are allowed.
Original comment by zar...@gmail.com
on 5 Nov 2012 at 7:33
The "Unit / Program" section of that article is missing...
Original comment by djjd47...@gmail.com
on 6 Nov 2012 at 12:11
Yeah, not written yet.
It's the same as classic Pascal/Delphi though, there are a few extensions (like
being able to have multiple "uses" clauses or being able to declare variables
in the initialization section), but you don't have to use them.
Original comment by zar...@gmail.com
on 6 Nov 2012 at 8:37
Original issue reported on code.google.com by
djjd47...@gmail.com
on 4 Nov 2012 at 12:52