[futurebasic] Re: [FB] Records, "True" or "Pseudo"

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2001 : Group Archive : Group : All Groups

From: Jay Reeve <jktr@...>
Date: Sun, 12 Aug 01 19:03:47 -0500
>I am looking into using records to store information pertaining to musical
>notes. In this scheme, each note would be represented by a record with
>fields for the note's duration and tone. I am unclear as to the difference
>between "pseudo records" and "true records." I understand how to create
>each of these record types, but I don't know the pros and cons of each
>type. Can someone enlighten me?
>
Richard,

I don't have a lot to add to Jonathan's description, except to second his 
advice to make the switch to true records. You might find you want more 
than one type of record to represent a note, each of which might have a 
field for duration or tone. With true records, you can create both, using 
the same field names if you wish. There's nothing inherently wrong with 
pseudo records, but for all the reasons Jonathan listed and more, true 
records are "better."

Let me also add that IMHO, you will definitely want to use dynamic arrays 
for these records. They should be pretty straight forward, but let me 
know if you run into any difficulties. I can even show you how to swap 
"tunes" in your array instantly, by just changing handles.

For unknown reasons, I have always kept my music separate from my 
computer interests, but I am somewhat knowledgeable in both fields and 
will be happy to help if you have questions or just need to bounce some 
ideas. It sounds like a fun project.

 0"0
 =J= a  y
  "