예제 #1
0
 private static CVar Print_call(CVar[] stack, VariabelDatabase db, EnegyData data, Posision pos)
 {
     Console.WriteLine(stack[0].toString(pos, data, db));
     return null;
 }
예제 #2
0
 public ScriptError(string msg, Posision pos)
 {
     Posision = pos;
     Message = msg;
 }
예제 #3
0
        private static CVar Useage_call(CVar[] stack, VariabelDatabase db, EnegyData data, Posision pos)
        {
            Console.WriteLine("----container----");
            foreach(string co in db.ContainerKeys())
            {
                Console.WriteLine("-" + co);
            }

            Console.WriteLine("------Global-----");
            foreach(string go in db.GlobalsKey())
            {
                Console.WriteLine("-" + go);
            }

            return new NullVariabel();
        }