Results 1 to 17 of 17

Thread: It's the End of the World

Threaded View

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    It's the End of the World

    I wrote a program to end the world. Anyone dare execute it? Have a great after-life.

    Code:
    # start 'end-of-the-world'
    # !define neg-zero -0 ;
    # fx := compute prime:neg-zero ;
    # if[ @fx -lt 0]
    # /
    #     zy @fx, 14, 4 ;
    #     swap @fx, -1, -0 ;
    #     store:prime-power(@fx, x):x:=0,x:=<15 ;
    # \ else /
    #     neg-val:@fx,-1
    #     store:x-val:@fx,@fx,0
    # \
    #
    # ret-rs := execute:@fx,neg-val:@fx,0;
    # store:ret-rs:@fx:=0,1;
    #
    # end 'end-of-the-world';
    Last edited by The Hobo; May 29th, 2006 at 07:55 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width