Author Topic: regapp  (Read 1587 times)

0 Members and 1 Guest are viewing this topic.

curmudgeon

  • Newt
  • Posts: 194
regapp
« on: September 02, 2009, 05:56:36 PM »
to use my own private set of extended data I

Code: [Select]
(regapp "rak")
while I have seen examples which would look more like this:

Code: [Select]
(if (not (tblsearch "APPID" "rak")) (regapp "rak"))
????

is it just sloppy, and therefore bad form, to simply register each time the lisp runs?
from what I read, if it was already registered, regapp simply returns nil.

so, is there any justification for what I would call the overhead of a tblesearch, pass to a not, pass to the if, and finally, pass that result, if T, to the then?

 :ugly:
Never express yourself more clearly than you are able to think.