Files
harbour-core/harbour/tests/working/statics.prg
Antonio Linares 974bc2fbc2 make files
1999-05-05 05:45:23 +00:00

25 lines
262 B
Plaintext

// Testing Harbour statics variables management
static z := "First"
function Main()
static a := "Hello", b := { 1, 3 }
QOut( a )
QOut( b[ 2 ] )
Two()
QOut( "Ok!" )
return nil
function Two()
static a := "Test"
QOut( a )
return nil