Author Topic: Allow LISP to RUN x # of Times ?  (Read 1763 times)

0 Members and 1 Guest are viewing this topic.

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Allow LISP to RUN x # of Times ?
« on: August 29, 2013, 06:28:24 PM »
After searching an finding no results, I was wondering if it is possible to limit the number of times a compiled lisp can run all self contained within the compiled lisp ?


Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Allow LISP to RUN x # of Times ?
« Reply #1 on: August 29, 2013, 06:49:23 PM »
Without using registry keys or supplementary files, I believe this would require self-modifying code.

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Allow LISP to RUN x # of Times ?
« Reply #2 on: August 29, 2013, 06:51:17 PM »
Without using registry keys or supplementary files, I believe this would require self-modifying code.

Which in itself can be a PITA, even with non-encrypted/compiled code.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Allow LISP to RUN x # of Times ?
« Reply #3 on: August 29, 2013, 07:06:28 PM »
Without using registry keys or supplementary files, I believe this would require self-modifying code.
Which in itself can be a PITA, even with non-encrypted/compiled code.

++ reminds me of a quine  :-)