RE: b6 syntax questions

  • From: "DaShiell, Jude T. CIV NAVAIR 1490, 1, 26" <jude.dashiell@xxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Mon, 4 May 2009 07:37:06 -0400

Forgot to add, surround concatenation operators by a blank space on both
sides and you'll be golden.
I think the varname=value construct is being depricated in favor of the
dim prefix keyword but don't quote me on that one.
 


Rot47: <;F56]52D9:6==@?2GJ]>:=>
-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of DaShiell,
Jude T. CIV NAVAIR 1490, 1, 26
Sent: Monday, May 04, 2009 7:34
To: programmingblind@xxxxxxxxxxxxx
Subject: RE: b6 syntax questions
Importance: Low

3) There actually are two possible answers, you choose.  The (&) or (+)
are both concatenation operators for strings.
 


Rot47: <;F56]52D9:6==@?2GJ]>:=>
-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall
Sent: Friday, May 01, 2009 17:12
To: programmingblind@xxxxxxxxxxxxx
Subject: b6 syntax questions

Hi all,
I have a couple questions about vb6.
1.  In source code I am reading, there are "sub" declarations, as well
as sections with a colon after them, which are used in Goto commands.
How do these statements relate to functions? I understand Goto, but (a)
how do you end a section and (b) what are the sub sections for if the
Goto does not use them?

2.  If you can just declare vars with "varname = value", then what does
the "Dim" keyword do, and what about data types?

3.  In strings, what is the concatenation operator?

4.  How do you declare arrays? What about 2d arrays?

Have a great day,
Alex
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

Other related posts: