Tutorials covering strings variables and arrays. Learn to split strings, understand server variables master multi dimensional arrays. Get rid of the apostrophe bug in asp.
True Type Fonts
Download thousands of free fonts.
Download Here.
Device Drivers
DirectX
VBrun Files
By Peripheral:


All Drivers
Dll Search
Download Dll Files
Enter The Dll Name:
Paco's Screensaver
Download The Official Paco's Drivers Screensaver.
Check It Out
Computer Maintenance
File Systems
Hardware
Over Clocking
Registry
Surf 2X Faster
Desktop Enhancements
Anime
Icons
Screensavers
Themes
Site Search:

Free Software
Anti-Virus
Audio Tools
E-Mail Clients
Firewalls
Graphic Editors
Web Development
ASP/VBScript
CGI Script
HTML
JavaScript
Paco's Own Scripts
Webmasters Tools
Were Listed @

Aspin.com

ScriptSearch.com

Variables, Strings, Arrays
Main Directory
Page : 1 | 2 | 3 | 4 | 5 | 6 | 7
Query String Example 
Passing info between pages is a simple task. We have all seen the long URLs that look like this: http:www.pacosdrivers.com/asp/name.asp?name=Paco This is done by passing data in a query string. 
Application State  
Like Session variables, Application variables are created in your Web server's memory and they persist across multiple pages. However, unlike Session variables, Application variables are not tied to a particular user. Once created, an Application variable remains in memory until it is explicitly removed or your Web server crashes 
Application variables 
So why should every visitor to the site have to cause an identical database query? The simple answer is to take advantage of Application variables. Think of the "Application" in this case being IIS - the server. Once set, Application variables are available to all pages on your site. But it's important to remember that they are gone forever if the server is restarted. 
Array Sample 
Most variables that you deal with contain one value. Sometimes however it's useful to store more than one value. Arrays are one way to do this. Since I can't come up with a good simple definition I'll turn to Microsoft's definition from the VBScript documentation 
Arrays 
This FAQ provides information about creating, using and modifying arrays. (14 FAQs) 
Arrays  
An array is a special type of variable that can be used to represent a list of related values or a table of related values. For example, imagine that your Web site has a shopping cart. You can represent the items in the shopping cart by using an array like this:  
Arrays 
What if you want to declare numerous values to a single variable . This is when we use an array . To declare an array we use the same syntax as a normal variable declaration but add ( ) on the end  
Check a number is in a valid range 
This example checks too see if a number is in a valid range , it rejects numbers too high or low and non numerical entries .Handy if you want to ensure for some reason a user enters a number in a valid range , say for their age 
Check for an integer 
This example checks for a valid positive or negative integer . It also checks whether a string contains numbers. 
Chr Function 
Sick off trying to workout where to put "s(i.e. quote marks) in your ASP code, without getting an error , below for an example. Say you want to print out a html page from your ASP and you need to write a FONT tag to the page you could type out- 
Page : 1 | 2 | 3 | 4 | 5 | 6 | 7
Search The Web Using Paco's MetaSearch
  
any   all   phrase
 About  Factmonster  AlltheWeb   
 MSN  Yahooligans      
Arts
Movies, Television, Music...
Business
Jobs, Industries, Investing...
Computers
Internet, Software, Hardware...
Games
Video Games, RPGs, Gambling...
Health
Fitness, Medicine, Alternative...
Home
Family, Consumers, Cooking...
Kids and Teens
Arts, School Time, Teen Life...
News
Media, Newspapers, Weather...
Recreation
Travel, Food, Outdoors, Humor...
Reference
Maps, Education, Libraries...
Regional
US, Canada, UK, Europe...
Science
Biology, Psychology, Physics...
Shopping
Autos, Clothing, Gifts...
Society
People, Religion, Issues...
Sports
Baseball, Soccer, Basketball...
World
Deutsch, Español, Français, Italiano, Japanese, Nederlands, Polska, Svenska...
Help build the largest human-edited directory of the web
Stop Popups
Paco's Popup Plucker.
Eliminate those pesky popups!
Users Online
Currently 19 users at PacosDrivers.com
Paco's Online

Send this page to a friend
Report Broken Links
Invalid path or path does not have write access: D:\www\dtruman\pacosdrivers.com\wx\weather\
Hosted By
ChamberGates

Privacy Policy
Best Viewed At 1024 X 768 Or Higher
Copyright © 2000-2010 Pacosdrivers.com. All Rights Reserved.