* (all files)
* stripped svn header
* minor cleanups
; use following command to find out the history of files:
git log
git log --follow
git blame
git annotate
23 lines
444 B
Plaintext
23 lines
444 B
Plaintext
// ; Donated to the public domain by
|
|
// Viktor Szakats (harbour syenar.net)
|
|
|
|
MEMVAR p_cMyPubVar
|
|
|
|
STATIC s_bBlock1 := {|| Hello() }
|
|
STATIC s_bBlock2 := {|| p_cMyPubVar }
|
|
|
|
PROCEDURE Main()
|
|
|
|
PUBLIC p_cMyPubVar := "Printed from a PUBLIC var from a codeblock assigned to a static variable."
|
|
|
|
Eval( s_bBlock1 )
|
|
? Eval( s_bBlock2 )
|
|
|
|
RETURN
|
|
|
|
FUNCTION Hello()
|
|
|
|
? "Printed from a codeblock assigned to a static variable."
|
|
|
|
RETURN NIL
|