AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 12:17

Parameter dieser Suchanfrage:

Suche in Thema: For-loop from C to Delphi
Suche alle Beiträge, die von "WojTec" geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 3 von insges. 3 Treffern
Suche benötigte 0.006s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Object-Pascal / Delphi-Language

    Re: For-loop from C to Delphi

      Delphi
      by WojTec, 19. Sep 2011
    Thare are these functions:

    int ctoi(char source)
    { /* Converts a character 0-9 to its equivalent integer value */
    if((source >= '0') && (source <= '9'))
    return (source - '0');
    return(source - 'A' + 10);
    }

    char itoc(int source)
  • Forum: Object-Pascal / Delphi-Language

    Re: For-loop from C to Delphi

      Delphi
      by WojTec, 18. Sep 2011
    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:

    if(temp == 'X') {

    In Delphi it mean 'X' or #88? What sense is this if-statement?
  • Forum: Object-Pascal / Delphi-Language

    For-loop from C to Delphi

      Delphi
      by WojTec, 18. Sep 2011
    Could you help translate this:

    for (i = 0; i < temp_length; i += 2)
    {
    if(temp == 'X') {
    strcpy(symbol->errtxt, "Invalid position of X in Telepen data");
    return ZERROR_INVALID_DATA;
    }

    if(temp == 'X') {


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=WojTec&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=163176
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:34 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