Structure and interface returns
Posted: Fri Aug 16, 2013 7:56 pm
Hiho,
First: Sorry for my bad english
Ok let's say i have a procedure and want to return a pointer to an interface or a structure then i have to declare a new variable with the needed type defintition.
It would be nice if i could just write
then i could just write somthing like this
I hope you guy's understand what i mean my english isnt the best 
Mfg Nero
First: Sorry for my bad english

Ok let's say i have a procedure and want to return a pointer to an interface or a structure then i have to declare a new variable with the needed type defintition.
It would be nice if i could just write
Code: Select all
Procedure.MyInterfaceOrStructure Test()
; Do something
ProcedureReturn *MyInterfaceOrStructurePointer
EndProcedure
Code: Select all
Result.l = Test()\MyInterfaceOrStructure_ProcedureOrVariable...()

Mfg Nero