The Cross-Platform xBase.
Version 3.0
Harbour codeblocks test example.
$ hbrun codebloc.prg this should print first I am a codeblock with parameters ... and it works! I am a second codeblock with access to local variables, codeblock parameters empty second parameter I am a second codeblock with access to local variables, codeblock parameters and with second parameter I am a second codeblock with access to local variables from MyEval Function WITH return value I am a second codeblock with access to local variables--> with nested EVAL I am a second codeblock with access to local variables==> Another empty second parameter WITH return value I am a second codeblock with access to local variables==> Another again and again WITH return value First codeblock created in a codeblock 1 2 1+5= 6 1+5= 6 25 Trying to use detached variable... z=x+y= 11 x*x= 25 x*x+z= 36 z=x+y= 11 x*x= 25 x*x+z= 36 z=x+y= 21 x*x= 100 x*x+z= 121
To learn how to build/run this example, see this page.