View Single Post
  #4 (permalink)  
Old 05-02-2008, 10:57 AM
mamuen mamuen is offline
Knows the basics
 
Join Date: Mar 2008
Location: germany, Heidelberg
Posts: 88
Default

Hello TWELVE,

Quote:
Originally Posted by TWELVE View Post
Why do B4P functions or routines not give back a return code of true or false..? Or do they..? My own created do and can be handled like outlined, by use of the Return directive.
TWELVE
There are no functions in Basic4ppc but instead every sub can return a value
with the keyword "Return"

Sub Mean (a,b)
Return (a+b)/2
End Sub

Greatings mamuen
Reply With Quote