Page 1 of 1

How to do this in pb ?

Posted: Thu Mar 02, 2006 8:08 am
by doodlemunch

Code: Select all

Type MY_TYPE

Field Nothing

End Type



Function MyFunc.MY_TYPE(stuff$)

End Function
that is blitzbasic codes i do not seem to understand pb how to do this that i am doing in bb but in pb ??

Posted: Thu Mar 02, 2006 10:02 am
by Flype
something like this...

Code: Select all

Structure MY_TYPE
EndStructure

Procedure.l MyFunc(stuff$)
  ProcedureReturn a.MY_TYPE
EndProcedure

*var.MY_TYPE = MyFunc("test")