function hello(){ Var hello_world = "Hello World in Drl language\n"; printf hello_world; Var preformat = "Hello with pre-formated"; printf "%1% data\n" % preformat; } printf "antes do hello\n"; call hello ; printf "depois do hello\n"; /// saida ///// [diego@localhost /usr/home/diego/Projects/Drl]$ ./drl teste.drl antes do hello Hello World in Drl language Hello with pre-formated data depois do hello