Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 12 Mar 1999.
Re: Goodbye Ascii Art World (Was:Re: [REQ] Z-art-further req

Re: Goodbye Ascii Art World (Was:Re: [REQ] Z-art-further req)

On Fri, 12 Mar 1999 18:28:55 GMT, ekv...@my-dejanews.com wrote:


>> I believe you CAN use the " and \ characters in Javascript. You just
>> have to put another \ in front of them. And I suspect that strings WILL
>> accept line breaks. Why don't you go to the Omega's Javascript help
>> forum and consult with him on it?
>
>The " character would end the string. And \ doesn't show up at all, just
>skewing the ascii art.
>I don't know how to make line breaks work with strings, but it seems like that
>ends the string aswell and creates errors.

You can use line breaks and " and \, you just have to know how 
to put them in:

just use \r\n for a line break,
use \\ for a \
and use \" for a "

So to put, for example, this:
    _ ,,
  @(_)("o
   |||     

into a string in javascript just do something like this:

string1 = "  _ ,, \r\n"+
          "@(_)(\"o\r\n"+
          " |||   ";

or this:

string1 = "  _ ,, \r\n@(_)(\"o\r\n |||   ";

HTH...

     Lunatic 42
-- 
.-=-lunatic42-=-.-=-=-=-=-=-=-=-=-=-=-=-=.  ,. 
|=-=-=-@-=-=-=-=|=-=-="Mekie zimbuz."=-=-| ::
'-earthlink.net-'-=-=-=-=-=-=-=-=-=-=-=-=' ::
  http://home.earthlink.net/~lunatic42/     `'

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,c9083013535a3014
X-Google-Attributes: gidf996b,public
From: e-d...@my.sig (Lunatic 42)
Subject: Re: Goodbye Ascii Art World (Was:Re: [REQ] Z-art-further req)
Date: 1999/03/12
Message-ID: <36e...@news.earthlink.net>#1/1
X-Deja-AN: 454320085
References: <7c05it$ktg$1...@nnrp1.dejanews.com> <36E...@musenet.org> <8OeF2.26$eT6...@news13.ispnews.com> <7c47b0$6ur$1...@nnrp1.dejanews.com> <36E...@on.spammer> <7c6i0h$8gl$1...@nnrp1.dejanews.com> <36E...@on.spammer> <36E...@online.no> <36E...@on.spammer> <7can12$t35$1...@nnrp1.dejanews.com> <36E...@iNOdirect.ca> <7cbmcq$pa3$1...@nnrp1.dejanews.com>
X-Posted-Path-Was: not-for-mail
X-ELN-Date: 12 Mar 1999 20:19:10 GMT
X-ELN-Insert-Date: Fri Mar 12 12:25:02 1999
Organization: EarthLink Network, Inc.
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1999 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post