Search found 3 matches

by Knotz
Mon Aug 20, 2007 9:12 pm
Forum: Off Topic
Topic: PureBasic.com is worth over $160k
Replies: 22
Views: 3878

Not bad: $440,370.00 for LoveChess. Time to retire 8)
by Knotz
Wed Jul 04, 2007 10:25 am
Forum: Coding Questions
Topic: Passing a field of a structure pointer to a procedure
Replies: 3
Views: 736

Ok, thanks a lot for the fast answers.
by Knotz
Wed Jul 04, 2007 9:56 am
Forum: Coding Questions
Topic: Passing a field of a structure pointer to a procedure
Replies: 3
Views: 736

Passing a field of a structure pointer to a procedure

I have the following code:

Structure Foo
A.l
B.f
C.s
EndStructure

Structure Bar
F.Foo
EndStructure

NewList Bars.Bar()

Procedure SetC(*F.Foo,S.s)
*F\C = S
EndProcedure

*Q.Bar = AddElement(Bars())

SetC(*Q\F,"DING") ;; << correct
Debug *Q\F\C

SetC(@*Q\F,"DONG") ;; << also correct
Debug *Q ...