[futurebasic] Re: Records

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: Lazlo Toth <ArtVandals@...>
Date: Sun, 15 Mar 98 17:01:17 +1100
Hi Y'all,

I need a little help on records.

I have a record structure to hold a couple of XY cordinates. In the fn in 
which they were originally dimmed, I can use them like this...

LastPt =  MidPt  :  MidPt = NextPt    

I can pass these points to another function using the notation... 

(@LastPt,@MidPt,@NextPt) 

and use them in the second FN like...

@LastPt&,@MidPt&,@NextPt&

And everything works fine. But if I try to make a point dimmed in the 
second function equal one passed from the first like this....

NewPt = LastPt&

It don't work.

Neither does this

NewPtB = [LastPt&]

But this does...

NewPt.PtX# = NextPt&.PtX# : NewPt.PtY# = NextPt&.PtY# 

After this I'm just guessing. It's obviously something to do with dots or 
curly brackets.

JC


==========================================================================
John Clark                    
Aeronaut Automation
30 Kennedy Place Bayview 2104 Australia
Phone:   61 2 99 97 28 42              Fax: 61 2 99 79 56 15
email:   ArtVandals@...
Visit the web site at <http://cygnus.uwa.edu.au/~peterh/>
==========================================================================