I would like to see Structures to be allowed in procedure returns and arguments, and also allow structures to assined like normal varablies like Me.person=You.Person
that would help me alot in my projects as i always use structures i hate it when i want to return a structure and i have to return a pointer and have the code go to other procedures (or have the normal code) have it rip apart the structure thru pokes to get the data
allowing Structures to be allowed in procedures returns...
can be done already;
at least I think that is the way it works.
Code: Select all
Structure FOO
parm1.l
EndStructure
structmyfoo.FOO
Procedure.l FillFoo(structmyfoo.l)
*myfoo.FOO=structmyfoo
myfoo\parm1=1
ProcedureReturn *myfoo
EndProcedure
structmyfoo.FOO=FillFoo(structmyfoo)
-
- Addict
- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
-
- Addict
- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
It would be very useful.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system