Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from alt.ascii-art.animation, started 20 Oct 1998.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
help!!!

help!!!

alt.ascii-art.animation · 4 messages · 20 Oct 1998
Matthew <yos...@shaw.wave.ca> ASCII art 20 Oct 1998 00:00 · permalink · report
Does anyone know what is wrong with this script?


<!--//
    var max=0;
    function tlist(){ max=tlist.arguments.length;
        for(i=0;i<max;i++) this[i]=tlist.arguments[i];
    }

    tl = new tlist(  


"                               ___\r\n"+
"                             _|___|_\r\n"+ 
"                              ('_')\r\n"+
"                             /^~ ~^\\\r\n"+
"                            /| 0=7|.\\\r\n"+
"                            \\| __ \\_/\r\n"+
"                             |~/\\~|\r\n"+
"                             | || |\r\n"+
"                             |()()|\r\n"+
"                             | || |\r\n"+
"                             (^)(^)\r\n",

"                 ___         ___   \r\n"+
"               _|___|_       !|!   \r\n"+ 
"                ('_')       ('_')  \r\n"+
"               /^~ ~^\\   /|^  ^|\\ \r\n"+
"              /| 0=7|.\\  ||COOL|| \r\n"+
"              \\| __ \\_/ \\|_  _|/ \r\n"+
"               |~/\\~|     | || |  \r\n"+
"               | || |      | || |  \r\n"+
"               |()()|      | || |  \r\n"+
"               | || |      | || |  \r\n"+
"               (^)(^)      (#)(#)  \r\n",

"       ___         ___              \r\n"+
"     _|___|_       !|!              \r\n"+ 
"      ('_')       ('_')             \r\n"+
"     /^~ ~^\\   /|^  ^|\\           \r\n"+
"    /| 0=7|.\\  ||COOL||            \r\n"+
"    \\| __ \\_/ \\|_  _|/           \r\n"+
"     |~/\\~|     | || |     ___     \r\n"+
"     | || |      | || |   {~._.~}   \r\n"+
"     |()()|      | || |   _( Y )_   \r\n"+
"     | || |      | || |  (:_~*~_:)  \r\n"+
"     (^)(^)      (#)(#)   (_)-(_)   \r\n",

"                 |\\. . . /|\r\n"+                        
"                :    \\ /   :\r\n"+                      
"               :    o   o   : \r\n"+                     
"              ;       @      ; \r\n"+                    
"              ;       ~     ;\r\n"+                     
"               ;      ~    ;\r\n"+                     
"               ;           ; \r\n"+
"              ;             ;\r\n"+ 
"             ;      ####     ;\r\n"+
"             ;     ######    ;\r\n",
"                           

"                               ___\r\n"+
"                             _|___|_\r\n"+ 
"                              ('_')\r\n"+
"                             /^~ ~^\\\r\n"+
"                            /| 0=7|.\\\r\n"+
"                            \\| __ \\_/\r\n"+
"                             |~/\\~|\r\n"+
"                             | || |\r\n"+
"                             |()()|\r\n"+
"                             | || |\r\n"+
"                             (^)(^)\r\n",

"    ___         ___        ___    \r\n"+
"  _|___|_       !|!      _|___|_  \r\n"+ 
"   ('_')       ('_')      ('_')   \r\n"+
"  /^~ ~^\\   /|^  ^|\\   /_~~_\\   \r\n"+
" /| 0=7|.\\  ||COOL||   /_(00)_\\  \r\n"+
" \\| __ \\_/ \\|_  _|/  \\  ~~  /  \r\n"+
"  |~/\\~|     | || |     |~||~|   \r\n"+
"  | || |      | || |     | || |   \r\n"+
"  |()()|      | || |     | || |   \r\n"+
"  | || |      | || |     | || |   \r\n"+
"  (^)(^)      (#)(#)     (^)(^)   \r\n",

"\r\n"+
"                 |\\. . . /|\r\n"+                        
"                :    \\ /   :\r\n"+                      
"               :    o   o   : \r\n"+                     
"              ;       @      ; \r\n"+                    
"              ;       ~     ;\r\n"+                     
"               ;      ~    ;\r\n"+                     
"               ;           ; \r\n"+
"              ;             ;\r\n"+ 
"             ;      ####     ;\r\n"+
"             ;     ######    ;\r\n",

"    ############# #####         ## ###### \r\n"+                
"    ############# ## ##         ## ##   ### \r\n"+              
"    ##            ##  ##        ## ##     ### \r\n"+         
"    ##            ##   ##       ## ##      ###\r\n"+        
"    ##            ##    ##      ## ##       ### \r\n"+      
"    #########     ##     ##     ## ##        ## \r\n"+          
"    ##            ##      ##    ## ##       ### \r\n"+      
"    ##            ##       ##   ## ##       ### \r\n"+      
"    ##            ##        ##  ## ##      ### \r\n"+        
"    ############# ##         ## ## ##     ### \r\n"+            
"    ############# ##          #### ######## \r" 

);
    var x=0;
    function tick() {
        document.f.t.value=tl[x];
        x++; if(x==max) x=0;
        //if(confirm('continue?'))
            setTimeout("tick()",500);
    }
    //-->
If you do, please write. Thankyou for your time, Matthew.

Matthew wrote:
> 
> Does anyone know what is wrong with this script?
> 
> <!--//
>     var max=0;
>     function tlist(){ max=tlist.arguments.length;
>         for(i=0;i<max;i++) this[i]=tlist.arguments[i];
>     }
> 
>     tl = new tlist(
> 
> "                               ___\r\n"+
> "                             _|___|_\r\n"+
> "                              ('_')\r\n"+
> "                             /^~ ~^\\\r\n"+
> "                            /| 0=7|.\\\r\n"+
> "                            \\| __ \\_/\r\n"+
> "                             |~/\\~|\r\n"+
> "                             | || |\r\n"+
> "                             |()()|\r\n"+
> "                             | || |\r\n"+
> "                             (^)(^)\r\n",
> 
> "                 ___         ___   \r\n"+
> "               _|___|_       !|!   \r\n"+
> "                ('_')       ('_')  \r\n"+
> "               /^~ ~^\\   /|^  ^|\\ \r\n"+
> "              /| 0=7|.\\  ||COOL|| \r\n"+
> "              \\| __ \\_/ \\|_  _|/ \r\n"+
> "               |~/\\~|     | || |  \r\n"+
> "               | || |      | || |  \r\n"+
> "               |()()|      | || |  \r\n"+
> "               | || |      | || |  \r\n"+
> "               (^)(^)      (#)(#)  \r\n",
> 
> "       ___         ___              \r\n"+
> "     _|___|_       !|!              \r\n"+
> "      ('_')       ('_')             \r\n"+
> "     /^~ ~^\\   /|^  ^|\\           \r\n"+
> "    /| 0=7|.\\  ||COOL||            \r\n"+
> "    \\| __ \\_/ \\|_  _|/           \r\n"+
> "     |~/\\~|     | || |     ___     \r\n"+
> "     | || |      | || |   {~._.~}   \r\n"+
> "     |()()|      | || |   _( Y )_   \r\n"+
> "     | || |      | || |  (:_~*~_:)  \r\n"+
> "     (^)(^)      (#)(#)   (_)-(_)   \r\n",
> 
> "                 |\\. . . /|\r\n"+
> "                :    \\ /   :\r\n"+
> "               :    o   o   : \r\n"+
> "              ;       @      ; \r\n"+
> "              ;       ~     ;\r\n"+
> "               ;      ~    ;\r\n"+
> "               ;           ; \r\n"+
> "              ;             ;\r\n"+
> "             ;      ####     ;\r\n"+
> "             ;     ######    ;\r\n",
> "
> 
> "                               ___\r\n"+
> "                             _|___|_\r\n"+
> "                              ('_')\r\n"+
> "                             /^~ ~^\\\r\n"+
> "                            /| 0=7|.\\\r\n"+
> "                            \\| __ \\_/\r\n"+
> "                             |~/\\~|\r\n"+
> "                             | || |\r\n"+
> "                             |()()|\r\n"+
> "                             | || |\r\n"+
> "                             (^)(^)\r\n",
> 
> "    ___         ___        ___    \r\n"+
> "  _|___|_       !|!      _|___|_  \r\n"+
> "   ('_')       ('_')      ('_')   \r\n"+
> "  /^~ ~^\\   /|^  ^|\\   /_~~_\\   \r\n"+
> " /| 0=7|.\\  ||COOL||   /_(00)_\\  \r\n"+
> " \\| __ \\_/ \\|_  _|/  \\  ~~  /  \r\n"+
> "  |~/\\~|     | || |     |~||~|   \r\n"+
> "  | || |      | || |     | || |   \r\n"+
> "  |()()|      | || |     | || |   \r\n"+
> "  | || |      | || |     | || |   \r\n"+
> "  (^)(^)      (#)(#)     (^)(^)   \r\n",
> 
> "\r\n"+
> "                 |\\. . . /|\r\n"+
> "                :    \\ /   :\r\n"+
> "               :    o   o   : \r\n"+
> "              ;       @      ; \r\n"+
> "              ;       ~     ;\r\n"+
> "               ;      ~    ;\r\n"+
> "               ;           ; \r\n"+
> "              ;             ;\r\n"+
> "             ;      ####     ;\r\n"+
> "             ;     ######    ;\r\n",
> 
> "    ############# #####         ## ###### \r\n"+
> "    ############# ## ##         ## ##   ### \r\n"+
> "    ##            ##  ##        ## ##     ### \r\n"+
> "    ##            ##   ##       ## ##      ###\r\n"+
> "    ##            ##    ##      ## ##       ### \r\n"+
> "    #########     ##     ##     ## ##        ## \r\n"+
> "    ##            ##      ##    ## ##       ### \r\n"+
> "    ##            ##       ##   ## ##       ### \r\n"+
> "    ##            ##        ##  ## ##      ### \r\n"+
> "    ############# ##         ## ## ##     ### \r\n"+
> "    ############# ##          #### ######## \r"
> 
> );
>     var x=0;
>     function tick() {
>         document.f.t.value=tl[x];
>         x++; if(x==max) x=0;
>         //if(confirm('continue?'))
>             setTimeout("tick()",500);
>     }
>     //-->
> If you do, please write. Thankyou for your time, Matthew.
yes, it's simple...

you forgot to tell the script the anim is in an array...

Arr = new Array (
"",
"",
"",
"" );

-- 
    ____	Time :	Tue Oct 20 11:55:51 1998
  .X+.   .
.Xx+-.     .	God is omnipotent, omniscient, and omnibenevolent -- it
XXx++-..	says so right here on the label. If you have a mind
XXxx++--..	capable of believing all three of these divine attributes
`XXXxx+++--'	simultaneously, I have a wonderful bargain for you. No
  `XXXxxx'	checks, please. Cash and in small bills.    Lazarus Long
     ""		(57)

CJRandall <col...@shieldwolf.demon.co.uk> ASCII art 20 Oct 1998 00:00 · permalink · report
 Matthew <yos...@shaw.wave.ca> writes
>Does anyone know what is wrong with this script?
>
>
[snip]
>"     | || |      | || |   {~._.~}   \r\n"+
>"     |()()|      | || |   _( Y )_   \r\n"+
>"     | || |      | || |  (:_~*~_:)  \r\n"+
>"     (^)(^)      (#)(#)   (_)-(_)   \r\n",
>
>"                 |\\. . . /|\r\n"+                        
>"                :    \\ /   :\r\n"+                      
>"               :    o   o   : \r\n"+                     
>"              ;       @      ; \r\n"+                    
>"              ;       ~     ;\r\n"+                     
>"               ;      ~    ;\r\n"+                     
>"               ;           ; \r\n"+
>"              ;             ;\r\n"+ 
>"             ;      ####     ;\r\n"+
>"             ;     ######    ;\r\n",
>"                           
 /\
 ||  error: unterminated string constant
>
>"                               ___\r\n"+
>"                             _|___|_\r\n"+ 
>"                              ('_')\r\n"+
>"                             /^~ ~^\\\r\n"+
[snip]
>If you do, please write. Thankyou for your time, Matthew.
[][ see yuz
[][ colin
-- 
( () /_ / /\)   _/   /? .\ /\) /) .\ /_ /_
CJRandall http://www.shieldwolf.demon.co.uk

CJRandall <col...@shieldwolf.demon.co.uk> ASCII art 20 Oct 1998 00:00 · permalink · report
 Ojosh!ro <ojo...@lunatech.com> writes
>Matthew wrote:
>> 
>> Does anyone know what is wrong with this script?
>> 
>> <!--//
>>     var max=0;
>>     function tlist(){ max=tlist.arguments.length;
>>         for(i=0;i<max;i++) this[i]=tlist.arguments[i];
>>     }
>> 
>>     tl = new tlist(
>> 
>> "                               ___\r\n"+
>> "                             _|___|_\r\n"+
>> "                              ('_')\r\n"+
>> "                             /^~ ~^\\\r\n"+
[snip]
>> "    ##            ##        ##  ## ##      ### \r\n"+
>> "    ############# ##         ## ## ##     ### \r\n"+
>> "    ############# ##          #### ######## \r"
>> 
>> );
>>     var x=0;
>>     function tick() {
>>         document.f.t.value=tl[x];
>>         x++; if(x==max) x=0;
>>         //if(confirm('continue?'))
>>             setTimeout("tick()",500);
>>     }
>>     //-->
>> If you do, please write. Thankyou for your time, Matthew.

>yes, it's simple...
>
>you forgot to tell the script the anim is in an array...
>
>Arr = new Array (
>"",
>"",
>"",
>"" );
>
[][ hi ...

in this particular case ... aren't the array object elements being
defined using the tlist() function at the beginning ?

[][ see yuz
[][ colin
-- 
( () /_ / /\)   _/   /? .\ /\) /) .\ /_ /_
CJRandall http://www.shieldwolf.demon.co.uk

Related ASCII art in the Gallery

Explore these categories from our collection of 11,000+ artworks:

About this thread. These messages were posted publicly to the newsgroup alt.ascii-art.animation in 1998 and are 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 one of the authors? 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