Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > Vb to Realbasic...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 3274 of 3314
Post > Topic >>

Vb to Realbasic conversion

by "mhartman" <usa.mark@[EMAIL PROTECTED] > Oct 23, 2007 at 09:10 PM

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




 6 Posts in Topic:
Vb to Realbasic conversion
"mhartman" <  2007-10-23 21:10:42 
Re: Vb to Realbasic conversion
Joe Strout <joe@[EMAIL  2007-10-23 20:51:25 
Re: Vb to Realbasic conversion
"mhartman" <  2007-10-24 09:16:01 
Re: Vb to Realbasic conversion
Joe Strout <joe@[EMAIL  2007-10-24 08:31:51 
Re: Vb to Realbasic conversion
"mhartman" <  2007-10-27 11:58:36 
Re: Vb to Realbasic conversion
Mac Dude <do@[EMAIL PR  2007-10-29 07:04:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 3:29:08 CDT 2008.