It seems that it has been changed through time as the declaration looks as follows:robert wrote: Sat Mar 28, 2026 8:23 am How did you declare bFor and bWhile?
There is a different in X# (and VO) between CodeBlock and _Codeblock. The first is for compile time codeblocks and the second for macro compiled code blocks.
Code: Select all
LOCAL bFor, bWhile AS _CODEBLOCK //USUAL //CODEBLOCKI checked my VO code and see that I only defined (compile time) codeblocks (not often used anyway), so not the _CodeBlock. But one (working) sample of using such a CodeBlock in VO is:
Code: Select all
lBlok1 := {||AScan(aRel,oDBDCSUb:FIELDGET(#relatie))<>0}Dick

