Example #1
0
        public override dynamic Exec()
        {
            if (ReturnExp != null)
            {
                return(ReturnExp.Exec());
            }

            return(null);
        }
Example #2
0
 public override dynamic Exec()
 {
     Initial.Exec();
     while (Condition.Exec() == 1)
     {
         Code.Exec();
         Inc.Exec();
     }
     return(null);
 }
Example #3
0
        public override dynamic Exec( )
        {
            System.Console.WriteLine("ExecWhile");
            while (Condition.Exec( ) == 1)
            {
                Code.Exec( );
            }
            //Code.Exec ( );

            return(null);
        }
Example #4
0
        public override dynamic Exec()
        {
            //System.Console.WriteLine("ExecWhile");
            while (Condition.Exec() == 1)
            {
                var rv = Code.Exec();

                if (rv is StructBreak)
                {
                    break;
                }
                if (rv != null)
                {
                    return(rv);

                    int bb = 4;
                }
            }
            //Code.Exec ( );

            return(null);
        }