See the top rated post in this thread. Click here

Results 1 to 3 of 3

Thread: Beer.lsp

  1. #1
    I could stop if I wanted to
    Join Date
    2007-07
    Posts
    393
    Login to Give a bone
    0

    Default Beer.lsp

    Found this interesting lisp in my collection
    (defun c:beer () (alert ""bout time you came to your senses...") (command "Quit'))
    but can't load it as it gives an error message
    ; error: extra right paren on input
    Any ideas anyone? Thanks.

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    1

    Default Re: Beer.lsp

    Punctuation and using code tags are important for writing and posting code, try:
    Code:
    (defun c:beer () (alert "bout time you came to your senses...") (command "Quit"))

  3. #3
    I could stop if I wanted to
    Join Date
    2007-07
    Posts
    393
    Login to Give a bone
    0

    Default Re: Beer.lsp

    Cheers, Tom.

Posting Permissions

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