@Eval doesn’t seem to work in an @for loop.
Anyone know what’s the deal with this?
m:=@GetProfileField(“MenuProfile”; “MenuDef”);
menufield:=“no”;
REM {WHEN I PRINT OUT MENUFIELD AT THE END OF THIS LOOP, ALL I GET IS THE OLD VALUE “no”};
@For(i:=1; i<@Count(m);i:=i+1;
@If(@Eval(“@True”); menufield:=“got it”; menufield:=“don’t got it”)
);
I tried with @Eval with a value from m, but that didn’t work so I simplified the @Eval statement to no avail.
Any direction or confirmation of this problem would be appreciated (I just spent 2.5 days designing a menu which relies on @Eval in a loop – pretty frustrating…).
-Chris