Exemple #1
0
 public void open(VariabelDatabase database, EnegyData data, Posision pos)
 {
     Function version = new Function();
     version.Name = "version";
     version.call += Version_call;
     database.pushFunction(version, data);
 }
Exemple #2
0
        public void open(VariabelDatabase database, EnegyData data, Posision pos)
        {
            Function error = new Function();
            error.Name = "error";
            error.agument.push("string", "message");//here wee say wee want a agument there is string and name string :)
            error.call += Error_call;

            database.pushFunction(error, data);

            Function errorCallback = new Function();
            errorCallback.Name = "errorCallback";
            errorCallback.agument.push("function", "f");//here wee say wee want a agument there is function and
            errorCallback.call += ErrorCallback_call; ;
            database.pushFunction(errorCallback, data);
        }
Exemple #3
0
        //no support from V0.3
        public void open(VariabelDatabase database, EnegyData data, Posision pos)
        {
            Function hasValue = new Function();
            hasValue.Name = "hasValue";
            hasValue.agument.push("array", "array");
            hasValue.agument.push("context");
            hasValue.call += HasValue_call;
            database.pushFunction(hasValue, data);

            Function hasKey = new Function();
            hasKey.Name = "hasKey";
            hasKey.agument.push("array", "array");
            hasKey.agument.push("context");
            hasKey.call += HasKey_call;
            database.pushFunction(hasKey, data);
        }
Exemple #4
0
        public void open(VariabelDatabase database, EnegyData data, Posision pos)
        {
            Function cosh = new Function();
            cosh.Name = "cosh";
            cosh.agument.push("int", "");
            cosh.call += Cosh_call;

            database.pushFunction(cosh, data);

            Function cos = new Function();
            cos.Name = "cos";
            cos.agument.push("int", "");
            cos.call += Cos_call;

            database.pushFunction(cos, data);

            Function tanh = new Function();
            tanh.Name = "tanh";
            tanh.agument.push("int", "");
            tanh.call += Tanh_call;
            database.pushFunction(tanh, data);

            Function tan = new Function();
            tan.Name = "tan";
            tan.agument.push("int", "");
            tan.call += Tan_call;
            database.pushFunction(tan, data);

            Function sinh = new Function();
            sinh.Name = "sinh";
            sinh.agument.push("int", "");
            sinh.call += Sinh_call;
            database.pushFunction(sinh, data);

            Function sin = new Function();
            sin.Name = "sin";
            sin.agument.push("int", "");
            sin.call += Sin_call;
            database.pushFunction(sin, data);
        }
Exemple #5
0
        public void open(VariabelDatabase database, EnegyData data, Posision pos)
        {
            Function type = new Function();
            type.Name = "type";
            type.agument.push("controls");
            type.agument.push("string", "isType");
            type.call += Type_call;
            database.pushFunction(type, data);

            Function getType = new Function();
            getType.Name = "getType";
            getType.agument.push("variabel");
            getType.call += Type_call1;
            database.pushFunction(getType, data);

            //not supportet from V0.4
            Function toInt = new Function();
            toInt.Name = "toInt";
            toInt.agument.push("string", "context");
            toInt.call += ToInt_call;
            database.pushFunction(toInt, data);
        }