var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
VB if conditions
How would I add more than one condition inside an if statement?
I need to check that 3 Boolean variables are true to continue... Something like
if bln_one & bln_two & bln three = true then
I don't know the specific VB syntax, but conceptually, you would need to compare each variable against boolean true, and join them with logical ANDs.
where each condition is something like bin_one = true, etc.
if (condition1 && condition2 && condition3) then ...
I don't know what syntax VB uses for a logical AND, but it's a double-ampersand in most languages.
I got it, nevermind....by the way the sytax for VB is as follows:
just the word and, no "&"
if (condition1 and condition2 and condition3 = true) then
Last edited by hopesfall; 09-24-2009 at 11:36 PM.
By danisgood in forum Running a Web Hosting Business
Last Post: 07-25-2009, 04:10 PM
By praxedis in forum Programming Discussion
Last Post: 05-10-2005, 03:04 PM
By chrisblack in forum Other Offers & Requests
Last Post: 09-16-2003, 12:27 AM
By SellHostCo in forum Other Offers & Requests
Last Post: 08-29-2003, 10:57 AM
By PaulH in forum Running a Web Hosting Business
Last Post: 09-07-2002, 08:49 PM