Beispiel Block-Funktion X

Block-Funktion X

/X_BLOCK
«
{
    // Ist eine bestimmte X-Variable definiert?
    if(X.IsDefined('ThisArticle')=FALSE)
    {
       // Wert einer bestimmten X-Variable setzen.
       X.Set('ThisArticle', 'A-100;Winkelschleifer A;')
    }
    X.Append('ThisArticle', ' CHF 100.00', FALSE)
    // Wert einer bestimmten X-Variable abholen.
    throw 	X.Get('ThisArticle', FALSE)
}
»
/