Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
| Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 5th, 2004, 03:32 AM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Brettvan1
Default What do the brackets actually do...

Could anyone help me with understanding what the brackets mean in my code.....?
Lets say I have intarray(intnumber)= etc...

What do the brackets actually do ?

 
Old October 5th, 2004, 08:44 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

You are specifying what element in the array you are currently accessing. For example:

intarray(1) = 23

You are accessing the 2nd element, assuming it is indexed at 0.

J
 
Old October 5th, 2004, 09:24 AM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Brettvan1
Default

Thanks.





Similar Threads
Thread Thread Starter Forum Replies Last Post
phone number brackets dhoward VB.NET 2002/2003 Basics 1 November 8th, 2006 11:58 AM
Square Brackets in Form Names dylan_b JSP Basics 1 July 11th, 2006 02:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.