realbasic-nug
[Top] [All Lists]

Re: Is there a way to do this or do I need to make a feature request (se

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Is there a way to do this or do I need to make a feature request (see below)
From: "Adam Shirey" <adam dot shirey at gmail dot com>
Date: Wed, 28 Feb 2007 20:26:36 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <9CD79761-3BF3-421D-BB54-5766F8301214 at verizon dot net>
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>


<Prev in Thread] Current Thread [Next in Thread>