Files
harbour-core/tests/statics2.prg
vszakats a4a357a18b 2013-03-15 11:12 UTC+0100 Viktor Szakats (harbour syenar.net)
* /harbour/* -> /*
    * moved whole Harbour source tree one level up to
      avoid single 'harbour' top dir
2013-03-15 11:13:30 +01:00

26 lines
415 B
Plaintext

/*
* $Id$
*/
// Statics overlapped!
//
// Compile statics1.prg, statics2.prg and link both files
STATIC uA, uB
PROCEDURE Test()
? "INSIDE statics2.prg"
? " static uA, uB"
?
? " ValType( uA ), ValType( uB ) =>", ValType( uA ), ",", ValType( uB )
? " uA, uB =>", uA, ",", uB
uA := "a"
uB := "b"
? ' uA := "a"'
? ' uB := "b"'
? " uA, uB =>", uA, ",", uB
?
RETURN