Einzelnen Beitrag anzeigen

WojTec

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

Re: For-loop from C to Delphi

  Alt 18. Sep 2011, 18: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 18:56 Uhr)
  Mit Zitat antworten Zitat