How to do this in pb ?

Everything else that doesn't fall into one of the other PB categories.
doodlemunch
Enthusiast
Enthusiast
Posts: 237
Joined: Tue Apr 05, 2005 11:20 pm

How to do this in pb ?

Post 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 ??
my english is horribel i know - SORRY i am dyslexic - i uses pb 3.94
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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")
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Post Reply