xpp {

       /*

       A sample program written by Kimmie using text representation of Superx++ code.

       */

       xout("Hello" + "Man");

       class XObject {

              construct {

                     public:

                           <MyObjectNode>200</MyObjectNode>

              }

       }

       class XPlant {

              construct {

                     public:

                           <MyNode>10</MyNode>

                     protected:

                           <MyProt/>

              }

              public:                   

                     string Execute() {

                           string sRet = xservice("xml") Calculator.Mult(Parm1 = 40, Parm2 = 20);

                           string sVal;

                           int    i;

                           for (i = 0; i < 10; i = i + 1) {

                                  sVal = xservice("xml") Calculator.Mult(Parm1 = i, Parm2 = 10);

                                  sRet = sRet + sVal + ", ";

                           }

                          

                           return sRet;              

                     };

       }

       /* The MySimpleNode object is an object based on two different classes */

       node(XPlant, XObject) MySimpleNode {

              <cats>5</cats>

       };

       xout( xservice("xml", "http://localhost/XppExt_Release/XppExt.dll", "MySimpleNode"); );

}