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 --> Array Fehler (https://www.delphipraxis.net/78901-pascalscript-array-fehler.html)

Scorpion 12. Okt 2006 21:18


PascalScript --> Array Fehler
 
Hallo,

wenn ich folgenden Code kompilieren will:

Delphi-Quellcode:
if s[i] in ['A'..'Z'] then
gibt mir der Compiler folgende Fehlermeldung aus:
Compiler: [Error] (8:20): Close block(']') expected

In der normalen Delphiumgebung geht es aber einwandfrei. Wo liegt also hier der Fehler.

Vielen Dank


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:57 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