Files
harbour-core/tests/calling.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

36 lines
434 B
Plaintext

/*
* $Id$
*/
// Calling different PRG functions
PROCEDURE Main()
SecondOne()
DO Fourth WITH "from Fourth() function" // Testing the old fashion DO ...
? "Ok, back to Main()"
RETURN
FUNCTION SecondOne()
? "Ok, this is from Second() function call"
Third()
RETURN NIL
FUNCTION Third()
? "Ok, this is from Third() function call"
RETURN NIL
FUNCTION Fourth( cText )
? cText
RETURN NIL