Brian,
You can use the EndOfLine (with optional .Unix, .Macintosh, or .Windows) to
indicate the EOL (newline, linefeed, newline-linefeed, respectively). For
example:
dim html as string = "<html>" + EndOfLine _
+ "<head>" + EndOfLine _
+ "<title>My Page</title>" + EndOfLine
The Language Reference has plenty of information that will help you out.
-Adam
dingostick.com
On 2/28/07, Brian Heibert <heibert at verizon dot net> wrote:
>
> I want to be able to have a string of text that spans more than one line
>
> I have this code that someone suggested for someone else that sounded
> like a good idea for my project
>
> Dim f as FolderItem
> f = SpecialFolder.Temporary
>
> Dim html as String = "<HTML>"
>
> HTMLViewer1.LoadPage html, f
>
> But I want to be able to have multiple lines do I need to just keep
> adding to Dim html as String = "<HTML> and keep going here"
>
> or can I do something like
>
> Dim html as String = "<HTML> My web page
> welcome <A HREF="Email.html">Email me</A>
> etc. "
>
> If I can't do this what do I do to send a feature request?
>
> FutureBASIC (shudder I bring up a competing product) does this to
> solve that problem
>
> PRINT " First Line" ¬
> PRINT "Second Line"¬
> PRINT "Third Line"
>
> Brian Heibert
> Heibert Scan, Copy & Printing
> Web: http://www.heibertscancopyprinting.com
> Email: email at heibertscancopyprinting dot com
> Email: heibert at verizon dot net
> Phone: (765) 742-4648
> Fax: 1-888-243-0853
>
>
>
>
>
>
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
>
--
-Adam
dingostick.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|