public static void While_01_SubProc(WgContext Context, S02._while01 Data) { if ((Data.Outer.Top % 12) == 11) { Context.LoopBreak(); } }
public static void While_01_Body(WgContext Context, S02._while01 Data) { --Data.Outer.Top; if ((Data.Outer.Top % 5) == 0) { Context.LoopContinue(); } Data.Outer.Sum += Data.Outer.Top; Data.Outer.Numbers.Add(Data.Outer.Top); Context.ProceedTo <S02._while01> (While_01_Dummy); Context.ProceedTo <S02._while01> (While_01_SubProc); }
public static void While_01_Dummy(WgContext Context, S02._while01 Data) { Console.WriteLine("iteration trail for " + Data.Outer.Top); }
// public static bool While_01_Check(WgContext Context, S02._while01 Data) { return(Data.Outer.Top > 0); }