|
 |
asp_databases thread: IF THEN ELSE in VBScript
Message #1 by "Tom Westra" <T_westra@h...> on Fri, 28 Apr 2000 10:0:46
|
|
If i use the If-Then-Else structure. I constantly get an error because the
compiler wants the complete structure on one line.
Most of the time these structure are very long and the view on the code is
gone then.
Is there a way I can put the If-Then-Else structure on multiple lines.
It is a simple question but i can't seem to find the answer.
Tom
Message #2 by "Ruud Voigt" <RuudVoigt@w...> on Fri, 28 Apr 2000 13:05:57 +0200
|
|
I assume you're talking about the argument for the if statement.
Possibly you could put all the code into a subroutine
that just returns true or false and then call the
subroutine after the if like this
if mysub() = true then
Regards
RUUD
-----Original Message-----
From: Tom Westra
Sent: vrijdag 28 april 2000 10:01
To: ASP Databases
Subject: [asp_databases] IF THEN ELSE in VBScript
If i use the If-Then-Else structure. I constantly get an error because the
compiler wants the complete structure on one line.
Most of the time these structure are very long and the view on the code is
gone then.
Is there a way I can put the If-Then-Else structure on multiple lines.
It is a simple question but i can't seem to find the answer.
Tom
---
You are currently subscribed to asp_databases
|
|
 |