<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.cockpit-xp.de/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.cockpit-xp.de/dokuwiki/feed.php">
        <title>Cockpit-XP - Wiki cockpit-xp:addon:standardfunktionen</title>
        <description></description>
        <link>https://wiki.cockpit-xp.de/dokuwiki/</link>
        <image rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/lib/tpl/simple_sidebar/images/favicon.ico" />
       <dc:date>2026-04-22T12:06:47+0200</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:abs&amp;rev=1606562182&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:chr&amp;rev=1606562182&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:comparetext&amp;rev=1606562182&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:copy&amp;rev=1606562182&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:delete&amp;rev=1718608380&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:deletestr&amp;rev=1718608928&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:floattostr&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:formatfloat&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:frac&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:insert&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:int&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:inttostr&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:length&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:lowercase&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:namecase&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:ord&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:pi&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:pos&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:round&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:setlength&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:strtoint&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:strtoint64&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:trim&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:trunc&amp;rev=1606562180&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:uppercase&amp;rev=1606562180&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.cockpit-xp.de/dokuwiki/lib/tpl/simple_sidebar/images/favicon.ico">
        <title>Cockpit-XP - Wiki</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/</link>
        <url>https://wiki.cockpit-xp.de/dokuwiki/lib/tpl/simple_sidebar/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:abs&amp;rev=1606562182&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:22+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:abs</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:abs&amp;rev=1606562182&amp;do=diff</link>
        <description>Abs()-Funktion




Einleitung

Die  ist eine Standardfunktion mit einem ganzen Portfolio an Einsatzmöglichkeiten. Sie liefert den absoluten Zahlenwert einer positiven oder negativen Zahl. Negative Zahlen werden in positive Werte umgewandelt.



Syntax
  Befehl  Abs(v:Variant)</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:chr&amp;rev=1606562182&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:22+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:chr</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:chr&amp;rev=1606562182&amp;do=diff</link>
        <description>Chr()-Funktion




Einleitung

Zeichen auf dem Computer werden in Zeichentabellen gespeichert und sind standardisiert. In unserem Sprachraum üblich ist der Zeichensatz LATIN-1 der maximal 256 Zeichen umfasst. Die Zeichen 0-128 entsprechen dabei dem früher gebräuchlichen</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:comparetext&amp;rev=1606562182&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:22+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:comparetext</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:comparetext&amp;rev=1606562182&amp;do=diff</link>
        <description>CompareText()-Funktion




Einleitung

Manchmal muss man in einem Programm vergleichen, ob zwei String-Variablen identisch oder unterschiedlich sind. Genau das macht die Standardfunktion CompareText().



Syntax
  Befehl  CompareText( s1:String, s2:String )   Funktion</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:copy&amp;rev=1606562182&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:22+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:copy</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:copy&amp;rev=1606562182&amp;do=diff</link>
        <description>CompareText()-Funktion




Einleitung

Manchmal benötigt man einen bestimmten Teil aus einer größeren Zeichenfolge. Genau das erledigt Standardfunktion Copy().




Syntax
  Befehl  Copy ( s1:String, from:Integer, length:Integer )   Funktion  Diese Funktion kopiert eine komplette oder den Teil einer Zeichenfolge in eine andere Zeichenfolge. Die Übergabeparameter sind zum einen die Zeichenfolge selbst und dann die Position innerhalb der Zeichenkette, aber der die Kopierfunktion greifen soll, sowie…</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:delete&amp;rev=1718608380&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-17T09:13:00+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:delete</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:delete&amp;rev=1718608380&amp;do=diff</link>
        <description>Delete()




Einleitung

Dieser Befehl aus den Standardfunktionen dient dem löschen einer ganzen oder des Teils einer bereits existierenden Zeichenkette. 




Syntax
  Befehl  Delete ( s1:String, pos:Integer, count:Integer )   Funktion  Löscht eine vorgegebene Anzahl Zeichen 'count'aus einer Zeichenfolge 's1' beginnend an der mit 'pos' definierten Stelle.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:deletestr&amp;rev=1718608928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-17T09:22:08+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:deletestr</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:deletestr&amp;rev=1718608928&amp;do=diff</link>
        <description>DeleteStr()




Einleitung

Dieser Befehl aus den Standardfunktionen dient dem löschen einer ganzen oder des Teils einer bereits existierenden Zeichenkette. 




Syntax
  Befehl  DeleteStr ( s1:String, pos:Integer, count:Integer )   Funktion  Löscht eine vorgegebene Anzahl Zeichen 'count'aus einer Zeichenfolge 's1' beginnend an der mit 'pos' definierten Stelle.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:floattostr&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:floattostr</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:floattostr&amp;rev=1606562180&amp;do=diff</link>
        <description>FloatToStr()

Syntax
  Befehl  FloatToStr(i:Integer)   Beschreibung  Konvertiert eine Gleitkommazahl in eine Zeichenfolge 
Codebeispiel

Sehr oft trifft man in AddOns in Cockpit-XP auf Packagevariablen, deren Namensteil aus einem Text und einer Gleitkommazahl zusammengesetzt ist. Das macht man üblicherweise, wenn man über ein</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:formatfloat&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:formatfloat</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:formatfloat&amp;rev=1606562180&amp;do=diff</link>
        <description>FormatFloat

Extended- oder Float-Variablen sind oft richtige Ungetüme. Sei es als große Ganzzahl oder als Nachkommazahl. Will man diese Variablen auf einem RennBildschirm ausgeben, muss man sie entweder in handlichere Integervariablen umwandeln oder als String formatieren.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:frac&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:frac</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:frac&amp;rev=1606562180&amp;do=diff</link>
        <description>Frac()-Funktion




Einleitung

Die Standardfunktion , liefert schon vom Namen her (fraktal = gebrochen) eine Erklärung des zu erwartenden Ergebnisses. Sie liefert den Teil einer Gleitkommazahl, die nach dem Dezimaltrennzeichen zu finden ist.

Frac(13.459) liefert den Wert</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:insert&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:insert</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:insert&amp;rev=1606562180&amp;do=diff</link>
        <description>Insert()-Procedure




Einleitung

Dieser Befehl dient der Ergänzung einer bereits existierenden Zeichenkette. Während man durch den '+'-Operator zwei oder mehrere Zeichenfolgen jeweils an deren Anfang oder Ende zusammenfügen kann, erlaubt es diese Prozedur, eine Zeichenkette innerhalb einer exisitierenden Zeichenfolge zu 'injizieren'. Damit gibt es eine weitere</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:int&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:int</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:int&amp;rev=1606562180&amp;do=diff</link>
        <description>Int()-Funktion




Einleitung

Diese Standardfunktion wirkt auf eine Fließkommazahl, in dem sie den Teil vor dem Komma extrahiert.

Int(12.734) ergibt 12. Das Ergebnis bleibt eine Fließkommazahl!



Syntax
  Befehl  Int(e:Extended)    Funktion  Liefert den Teil vor dem Komma einer Fließkommazahl</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:inttostr&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:inttostr</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:inttostr&amp;rev=1606562180&amp;do=diff</link>
        <description>IntToStr()

Syntax
  Befehl  IntToStr(i:Integer)   Beschreibung  Konvertiert eine Ganzzahl in eine Zeichenfolge 
IntToStr kann auch int64-Variablen in Zeichenfolgen konvertieren. Dazu ist keine besondere Funktion erforderlich.




Codebeispiel

Sehr oft trifft man in AddOns in Cockpit-XP auf Packagevariablen, deren Namensteil aus einem Text und der Slot/SlotID zusammengesetzt ist. Das macht man üblicherweise, wenn man pro Slot/SlotID eine separate Variable anlegen will.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:length&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:length</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:length&amp;rev=1606562180&amp;do=diff</link>
        <description>Length()-Funktion




Einleitung

Immer wieder kommt es vor, dass man in einem Programm die Länge einer Zeichenfolge prüfen muss, z.B. zur Weiterverarbeitung in anderen Befehlen wie der Standardfunktion Copy().




Syntax
  Befehl  Length ( s:String )   Funktion  Das Ergebnis ist die Länge einer Zeichenfolge.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:lowercase&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:lowercase</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:lowercase&amp;rev=1606562180&amp;do=diff</link>
        <description>LowerCase()-Funktion




Einleitung

Standardfunktion, die eine Zeichenfolge in ausschließlich kleine Zeichen umwandelt.



Syntax
  Befehl  LowerCase(s:String)   Funktion  Wandelt die gesamte Zeichenfolge in Kleinschreibung um.   Rückgabewert  String 
Codebeispiel</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:namecase&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:namecase</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:namecase&amp;rev=1606562180&amp;do=diff</link>
        <description>NameCase()-Funktion




Einleitung

Standardfunktion, die eine Zeichenfolge so umwandelt, dass jedes Wort innerhalb der Zeichenfolge mit einem Großbuchstaben beginnt und anschließend aus Kleinbuchstaben besteht.




Syntax
  Befehl  NameCase(s:String)   Funktion  Wandelt das erste Zeichen eines neuen Wortes in einer Zeichenfolge in Großschreibung, den Rest in Kleinschreibung um.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:ord&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:ord</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:ord&amp;rev=1606562180&amp;do=diff</link>
        <description>Ord()-Funktion




Einleitung

Zeichen auf dem Computer werden in Zeichentabellen gespeichert und sind standardisiert. In unserem Sprachraum üblich ist der Zeichensatz LATIN-1 der maximal 256 Zeichen umfasst. Die Zeichen 0-128 entsprechen dabei dem früher gebräuchlichen</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:pi&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:pi</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:pi&amp;rev=1606562180&amp;do=diff</link>
        <description>Pi()-Funktion




Einleitung

Diese Standardfunktion dient ausschließlich dazu, die Kreiszahl Pi bereit zu stellen.



Syntax
  Befehl  Pi()    Funktion  Liefert die Kreiszahl Pi (3,141592...)   Rückgabewert  Extended 



Codebeispiel






----------

Start - FAQ - Glossar - Sitemap - Impressum</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:pos&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:pos</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:pos&amp;rev=1606562180&amp;do=diff</link>
        <description>Pos()-Funktion




Einleitung

Diese Standardfunktion ermittelt die Position eines oder mehrerer Zeichen in einer größeren Zeichenfolge. 




Syntax
  Befehl  hier dann die richtige Schreibweise gemäß Cockpit    Funktion  Gibt die Position einer Zeichenkette innerhalb einer größeren Zeichenfolge zurück.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:round&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:round</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:round&amp;rev=1606562180&amp;do=diff</link>
        <description>Round()-Funktion




Einleitung

Die Round-Funktion ist eine der Standardfunktionen von Pascal-Script. Sie rundet eine Gleitkommazahl auf oder ab und macht daraus eine Ganzzahl (Integer).

Für die Rundung kommen Regeln der Finanzmathematik aus dem Bankensektor zum Einsatz. Ergibt sich die exakte Hälfte zwischen zwei Werten, wird auf einen glatten Wert auf oder abgerundet.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:setlength&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:setlength</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:setlength&amp;rev=1606562180&amp;do=diff</link>
        <description>SetLength()-Procedure




Einleitung

Diese Standardfunktion legt die Länge einer Zeichenkette fest oder dimensioniert ein Array zur Laufzeit eines Programms neu.




Syntax
  Befehl  SetLength ( s:Variant, count:Integer )   Funktion  Ändert die Länge einer Zeichenkette auf die angegbene Anzahl Zeichen oder erweitert ein Variablen-Array.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:strtoint&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:strtoint</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:strtoint&amp;rev=1606562180&amp;do=diff</link>
        <description>StrToInt()

Syntax
  Befehl   StrToInt(s:String)    Beschreibung   Konvertiert eine Zeichenfolge in eine 32-bit Ganzzahl  
Minimaler und maximaler Wert einer 32-Bit Integer Variable
 min    -2147483648  max    2147483647 



Codebeispiel

Von Zeit zu Zeit gibt es in AddOns in Cockpit-XP Zeichenfolgen, z.B. nach Datenbank- oder Datumsoperationen, die Zahlen als Text enthalten. Möchte man jetzt mit diesen Zahlen rechnen, muss der Programmier sie erst in Integerwerte umwandeln.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:strtoint64&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:strtoint64</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:strtoint64&amp;rev=1606562180&amp;do=diff</link>
        <description>StrToInt64()

Syntax
  Befehl   StrToInt64(s:String)    Beschreibung   Konvertiert eine Zeichenfolge in eine 64-bit Ganzzahl  
Minimaler und maximaler Wert einer 64-Bit Integer Variable. Nebenbei ist das die größte mögliche Ganzzahl in Delphi.
 min</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:trim&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:trim</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:trim&amp;rev=1606562180&amp;do=diff</link>
        <description>Trim()-Funktion




Einleitung

Diese Standardfunktion entfernt Leerzeichen am Anfang und Ende einer Zeichenkette. Das kann z.B. in Eingabefeldern der AddOn-Konfiguration hilfreich sein, um dort sonst fehlerhafte Eingaben in Form zu bringen.



Syntax
  Befehl  Trim(s:String)</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:trunc&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:trunc</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:trunc&amp;rev=1606562180&amp;do=diff</link>
        <description>Trunc()-Funktion




Einleitung

Diese Standardfunktion wirkt auf eine Fließkommazahl, in dem sie den Teil vor dem Komma extrahiert.
Trunc(12.734) ergibt 12. Das Ergebnis ist eine Ganzzahl!



Syntax
  Befehl  Trunc(e:Extended)    Funktion  Liefert den Teil vor dem Komma einer Fließkommazahl</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:uppercase&amp;rev=1606562180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:16:20+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen:uppercase</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen:uppercase&amp;rev=1606562180&amp;do=diff</link>
        <description>UpperCase()-Funktion




Einleitung

Standardfunktion, die eine Zeichenfolge in ausschließlich große Zeichen umwandelt.



Syntax
  Befehl  UpperCase(s:String)   Funktion  Wandelt die gesamte Zeichenfolge in Großschreibung um.   Rückgabewert  String 
Codebeispiel</description>
    </item>
</rdf:RDF>
