single statement/ mutliple lines 
Author Message
 single statement/ mutliple lines

What is the character(s) to write a single statement on multiple lines in
vb3?

 if statement1 and .....
     statement2 then

end if

What character do I use after the 'and' ?

Thanks,

PBX



Thu, 06 Jun 2002 03:00:00 GMT  
 single statement/ mutliple lines
I am not sure about VB 3, since I only use VB 5/6, but here goes.  

There is a line continuation character.  It is an underscore character
preceeded by a space.  

If Statement 1 And _
  Statement 2 Then
End if    



Fri, 07 Jun 2002 03:00:00 GMT  
 single statement/ mutliple lines
There is no line continuation facility in VB3

--

RobSmith


I am not sure about VB 3, since I only use VB 5/6, but here goes.

There is a line continuation character.  It is an underscore character
preceeded by a space.

If Statement 1 And _
  Statement 2 Then
End if



Fri, 07 Jun 2002 03:00:00 GMT  
 single statement/ mutliple lines
a space and underline like below

 a=b+c+ _
    d+e


Quote:
> What is the character(s) to write a single statement on multiple lines in
> vb3?

>  if statement1 and .....
>      statement2 then

> end if

> What character do I use after the 'and' ?

> Thanks,

> PBX



Sat, 08 Jun 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Mutliple users accessing single database simultaneously ?

2. Mutliple domains with a single cookie

3. Dim multiple lines or single line

4. Expected:line number or label or statement or end of statement

5. SQL statement with single quote in data?

6. Handling single and double quotes in one SQL statement

7. Problem with fields with single and double quotes in SQL statements

8. Single SQL Statement, 2 Foreign Databases

9. Problem with prepared statement and single row rdoResultset

10. Single quotes in SQL statement problem

11. SQL statement with single quote in data?

12. How to include single quotes in a SQL statement

 

 
Powered by phpBB® Forum Software