Variables : String - Expression - Boolean - SWiSHMax Tutorials
 
  Buy Ebooks, Video Games, DVDs, Electronics and more !
Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads Make Money Online Blog . Free Image and Photo Sharing and Hosting

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Free image hosting
   Web Design Pakistan
   Swish Templates
   SWiSH Climax
   Talkfreelance Community
   Template Desire
   Lite boards
   Script Sector
   GimpTalk
   13dots
   Idea Designs
   PHP Cafe
   Sposatoettore
   Free swishmax templates
   Swishzone

Manage your site with Flax Article Content Management System
Variables : String - Expression - Boolean
Category : SWiSHMax | Level : Intermediate | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

Hi folks,

With this tutorial I want to make the difference clear between a string an expression and a bolean variable.

So there are 3 different types of variables.

String

A string variable is a variable that contains something between brackets.

ex: name="John"

So the variable name is a STRING variable

Expressions

An expression is a variable that contains something which we can use to make for example a calculation :

ex: age=18

The variable age is an EXPRESSION variable.

We can use that variable to make calculations.
Note that an expression variable does not contain brackets !

Names of variables are also expressions.
Example :

age=18;YourAge=age;

Here you see that the variable YourAge contains the value 18 and not the word age. So the variable YourAge is also an expression in that case. Do you get it ?


Boolean

A bolean variable is a variable that can hold the value true or false.

LoveMusic=true;

so here the variable LoveMusic contains the value true. You can see that this variable is also an expression but we give that one a special name called : Bolean.

In will explain that in other tutorials.

Is that clear my friends ?


© 2002-2005 Flaxweb Network | Article Manager | Gimp Tutorials Library | RAD C++ Library | Free C/C++ Sourcecode |
Sites of interest : Web Design Blog | Swish Templates | Swishmax Ebook | Photoshop Templates | Gimp Tutorials | Text Forum | Make Money Online