![]() |
Rave: Event-Editor --> Error #36 - CalcStack has 2 Items
Delphi-Quellcode:
Was will der nur von mir? :kotz:
function DataText22_OnGetText(Self: TRaveDataText; var Value: string);
var sTempText : String; iTextLaenge : Integer; i : Integer; begin iTextLaenge := length(Value); i := 1; sTempText := ''; while (i <= iTextLaenge) and (Value[i] <> '$') do begin <-- Error :wall: sTempText := sTempText + Value[i]; i := i + 1; end while; if sTempText = '' then Value := ''; else begin i := 1; sTempText := ''; while i <= iTextLaenge do begin if Value[i] = '$' then Value[i] := ''; end if; end while; end if; end OnGetText; |
Re: Rave: Event-Editor --> Error #36 - CalcStack has 2 It
In Rave geht nur ein Ausdruck....
Zitat:
Delphi-Quellcode:
ohne begin und ohne "end while"
while i <= iTextLaenge do
sTempText := sTempText ; i := i + 1; end; Scripting Syntax guide
Delphi-Quellcode:
Break, Continue and Exit function similar to Delphi.If statement if condition then statement(s); elseif condition then statement(s); else statement(s); end; For loop for index := start to finish do statement(s); end; for index := start downto finish do statement(s); end; While loop while condition do statement(s); end; Repeat loop repeat statement(s); until condition; With statement with object do statement(s); end; :-) thomas |
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:36 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz