by Mac Dude <do@[EMAIL PROTECTED]
>
Oct 29, 2007 at 07:04 AM
In article
<4a44955b060c061759751cbf0388991f@[EMAIL PROTECTED]
>,
"mhartman" <usa.mark@[EMAIL PROTECTED]
> wrote:
> Hello. How would I handle the below in Realbasic
> '
> '
> //Custom variable declaration
> Type Complex
> Real as Integer
> Imag as Integer
> End Type
> //--------------------------------
>
> //Window 1 declarations and code
>
> Dim Spectrum(-1) as Complex
> Dim Data(-1) As Integer
> '
> '
> //Usage---------------------------
>
> Spectrum(5).Real = Data(5)
> Spectrum(5).imag = Data(10)
> '
> //--------------------------------
>
>
>
> So far I have created a Class Titled "Complex" with the Shared
Properties,
> "Real" and "Imag" in it
> I stuck as how to relate this to the Spectrum array as in the above two
> statements.
>
> Many thanks for Any help or instruction.
>
> --
> Message posted using
> http://www.talkaboutprogramming.com/group/comp.lang.basic.realbasic/
> More information at http://www.talkaboutprogramming.com/faq.html
Hi,
Check out Bob Delaney's Complex plug in. It may do most of what you want
to do.
http://homepage.mac.com/delaneyrm/ComplexPlugin.html
Mac Dude