Pooh program example 01-hello-world.p

Test 01-hello-world.p

Source of programm

# hello world

sub showit( theMsg)
   println( ~msg theMsg )
end

showit( ~theMsg 'Hello world' )

Standard output for 01-hello-world.p

Hello world

Trace output for 01-hello-world.p

007|showit( ~theMsg 'Hello world' )...
004| println( ~msg theMsg:'Hello world' )...