Variable Types - Strings

RegisterLogin
Variable Types - Strings
Post Description: Variable Types - Strings
Tags: Variable, Types, -, Strings
This Post Was Posted On May 23, 2008 By Webune #1445
string variables are variables that represent a string of text. the string may contain letters, words, spaces, numbers, symbols or most anything you like. strings are defines in a slightly different way than numbers, using this syntax:

var variablename = "stringtext";

here are some more examples that will help you understand more about strings in variables

var mycar = "300zx";
var oldcar = "big brown station wagon";
var mycomputer = "pentium 5 xp, 8000 mHz, 8GB RAM";
var anything = "what? cool! I am @ home 4 now. (nice, right?)";
©2011 Webune Forums - Wed Dec 21, 2011 5:42 am
Powered by: Webune Forums V3