Test program change

This commit is contained in:
Eddie Runia
1999-05-20 06:04:19 +00:00
parent ceee3643b4
commit af73bdcbf5
2 changed files with 20 additions and 1 deletions

View File

@@ -3,9 +3,18 @@
//
// This program adds a .HRB at run-time
//
// Compile Spawn2() before compiling Spawn()
//
// Should be compiled using /gHRB or stub.
//
function Main()
QOut( "We are now in spawn" )
HB_Run( "Hello.hrb" ) // Load & Run Hello.hrb
HB_Run( "Spawn2.hrb" ) // Load & Run Hello.hrb
QOut( "We are back again" )
return nil
function SomeWhereElse()
QOut( "I am being called from somewhere else" )
return nil

View File

@@ -0,0 +1,10 @@
//
// Spawn2 called from Spawn
//
function Main()
QOut( "Hi, I am Spawn2" )
QOut( "Let's call a function from Spawn()" )
SomeWhereElse()
QOut( "Back to Spawn2" )
return nil