Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi PascalScript: Initialisieren von Variablen (https://www.delphipraxis.net/78796-pascalscript-initialisieren-von-variablen.html)

Scorpion 11. Okt 2006 08:45


PascalScript: Initialisieren von Variablen
 
Hallo und guten Morgen,

ich nutze die PascaScript-Komponente und würde gerne für den zu kompilierenden Quellcode globale Variablen definieren... Das soll dann so aussehen:

Delphi-Quellcode:
Var

VariablenName : Integer = 0;
...


Procedure Bla;
begin
end;


procedure Lala;
begin
end;
Doch irgendwie will er das nicht, wieso ? Hat jemand eine Idee ? Bei der Intialisierung will er ein Semicolon, aber wo??

Vielen Dank


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:03 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz