AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Power++

Ein Thema von cookie22 · begonnen am 24. Jul 2010 · letzter Beitrag vom 24. Okt 2010
Thema geschlossen
hermidelphi

Registriert seit: 27. Nov 2003
51 Beiträge
 
Delphi 7 Personal
 
#1

AW: Delphi++

  Alt 12. Aug 2010, 07:11
Hallo,

ich habe ein Problem mit RCII. Folgende Funktion funktioniert mit RCI.

Code:
function MyIntToStr(const i: int): string;
var tmp: int;
begin
  Result := '';
  tmp := i;
  repeat
    if tmp < 0 then
      begin
        tmp := -1 * tmp;
      end;
    Result := Str.Chr(tmp mod 10 + 48) + Result;
    tmp := tmp div 10;
  until tmp = 0;
  if i < 0 then
    Result := '-' + Result;
end;
Bei RCII erscheint die Fehlermeldung:

[11:18] -> Undeclared identifier: 'Str'

Kann jemand helfen?
 
plusplus

Registriert seit: 30. Jul 2010
106 Beiträge
 
Delphi 2009 Architect
 
#2

AW: Delphi++

  Alt 12. Aug 2010, 07:41
str. ist jetzt cstr.

I am sorry but I had to rename the following variables

str to cstr
file to cfile
math to cmath
int to cint
real to creal
date to cdate

because I added Pseudo support in the compiler the original names were incompatible.
Grid Computing made simple - http://xerocoder.com

Geändert von plusplus (12. Aug 2010 um 07:48 Uhr)
 
Thema geschlossen


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 23:19 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