AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein Rave: Event-Editor --> Error #36 - CalcStack has 2 Items ?!
Thema durchsuchen
Ansicht
Themen-Optionen

Rave: Event-Editor --> Error #36 - CalcStack has 2 Items ?!

Ein Thema von Glühwürmchen · begonnen am 29. Sep 2005 · letzter Beitrag vom 24. Okt 2005
Antwort Antwort
Benutzerbild von Glühwürmchen
Glühwürmchen

Registriert seit: 31. Okt 2003
Ort: Pfinztal
156 Beiträge
 
Delphi 2010 Professional
 
#1

Rave: Event-Editor --> Error #36 - CalcStack has 2 Items

  Alt 29. Sep 2005, 10:56
Delphi-Quellcode:
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;
Was will der nur von mir?
Gruß Glühwürmchen
<><
  Mit Zitat antworten Zitat
merlin17

Registriert seit: 15. Dez 2002
Ort: Mittelfranken
980 Beiträge
 
Delphi 10 Seattle Enterprise
 
#2

Re: Rave: Event-Editor --> Error #36 - CalcStack has 2 It

  Alt 24. Okt 2005, 10:35
In Rave geht nur ein Ausdruck....


Zitat:
while (i <= iTextLaenge) and (Value[i] <> '$') do begin
Delphi-Quellcode:
while i <= iTextLaenge do
    sTempText := sTempText ;
    i := i + 1;
  end;
ohne begin und ohne "end while"

Scripting Syntax guide
Delphi-Quellcode:

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;
Break, Continue and Exit function similar to Delphi.


thomas
- TeamNevrona cannot respond to questions received via email -
http://rave-notes.blogspot.com
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:22 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