Code: Select all
function myfunc (){
blah
}
This is not possible in a language such as UNIFACE where there is no such thing a these types of enclosures.
So, What I do, is this....
Code: Select all
entry LP_MYPROCENTRY ; {
if ($status > 0) ;{
do some stuff
else ;} ;{
do some other stuff
endif ;}
end ; LP_MYPROCENTRY ; }