KidsLovePC Contact Us
  Home   PHP  Graphics ASP  JavaScript   J2EE  HTML  JAVA   Swing   Webtip  Forums  Lyric  Free sheet music  Ringtones


Arrays are simple storage structures that allow us to group similar data types together for more efficient processing. The following example define a simple 5 element array of type string which will hold the first names of the marx brothers.

<title>Using arrays</title>
<P> Here are the marx brothers:</p>
Dim strMarx()
Redim strMarx(5)

<% for intCount=0 to 4%>
<P>Whoops Nearly forgot the bearded lefitsh one ..</p>

<% Redim preserve strMarx(6) %>

<% strMarx(5)="Karl" %> <p><b>
<% for intcounter=0 to 5%>

How it works:

Redim with the Preserve option resizes the strMarx array to hold 6, values not counting position 0. The preserve option is used to preserve the contents of the array. Without Preserve , the array would be initialized to empty.


ASP tutorial
What is ASP
Install IIS
VBScript or JScript
ClientSide vs ServerSide scripting
ASP execution order
Dealing with Form
More Form example
Variable &Variant
Local variable
Global variable
Use if_then_else
Use Select Case
For_Next loop
Do_while loop
Subroutine vs Function
Request Object
Count Keyword
Using QueryString
Application, Method, Events
Create Virtual Directory
Save array in Application
Session, Method, Events
Using Cookie
Server Object
Ad Rotator
Content Linker
Dictionary object
Filesystemobject Object




Best books about ASP & ASP.Net from Amazon
Beginning Dynamic Websites : with ASP.NET Web Matrix (Programmer to Programmer) (Paperback) Build Your Own ASP.NET Website Using C# & VB.NET (Build Your Own) (Paperback) Professional Active Server Pages 3.0 (Programmer to Programmer) (Paperback) ASP.NET Cookbook (Paperback) ASP.NET Kick Start (Paperback)


Printer Inkjet A Z lyricsLearn ChineseHome|PHP|Swing|HTML|JavaScript|ASP|JAVA|Forum|WebTip|Contact Us
Copyright © All rights reserved(new). Privacy|Copyright
designed by

Please help us cover the web site maintenance fee.
barcode scanner Thermal Printer credit card machine bar code printer