Jump to content

HappyBirthday.lsp ==>Fun vs. prank


Bluebird1973

Recommended Posts

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    8

  • Bluebird1973

    7

  • Grrr

    5

  • BIGAL

    3

Top Posters In This Topic

Posted Images

I added login name and users name and todays date year/month/day and I'm not listed?

("highrez2" "me" 19730112 65)

 

In this particular example, the username must be capitalised.

Link to comment
Share on other sites

Yes, the whole code.

 

first I put it in the acaddoc.lsp as you wrote in the first position

and than as second try to the defun-q s::STARTUP ...

 

... but I get this error...

 

Then I tried it as separate HappyBirthday.lsp by drag and drop and this work.

 

 

the only changes I made in your code was at his line

(= 3 (LM:randrange 1 3)) ; Adding some randomness to when the message is displayed

Link to comment
Share on other sites

I tried now your updated code and the error:

 

no function definition: LM:RANDRANGE

 

didn't appear again. :D

 

 

I changed the date to today and the message came 3 times up.

But now it is gone for today :cry:

 

so I opened up the Registry and searched for the set value and delete it out

... but it didn't came up again for today?

 

What I'm doing wrong that I can't bring it up today again???

14-01-2018 10-52-30.jpg

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...