Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#5

Re: For-loop from C to Delphi

  Alt 18. Sep 2011, 17:53
Oh, I forgot: this code working on string.

I'm not sure valid is Ord() or StrToInt().
In C++ "char" is Byte in Delphi, but value contain ASCII or what?

Also I dont understand this statement:

Code:
if(temp[i] == 'X') {
In Delphi it mean 'X' or #88? What sense is this if-statement?

BTW: This is fragment from telepen.c from Zint project.

Geändert von WojTec (18. Sep 2011 um 17:56 Uhr)
  Mit Zitat antworten Zitat