E
Edward
Guest
After failing to get SKILL mode working in Emacs, I decided to write
all my SKILL code using standard Lisp sexp-notation. I did this
because Emacs has plenty of lisp modes for my mark-up and indentation
needs. But recently I ran into code that refused to work with "set"
or "setq." I finally had to revert to this in order to get this
simple swap to work:
temp = obj1~>points
obj1~>points = obj2~>points
obj2~>points = temp
The (non-working) Lispish version looked like this:
(setq temp obj1~>points)
(set obj1~>points obj2~points)
(set obj2~>points temp)
Anyone know the magic here? Is there some specialized set command
that works only with db objects?
all my SKILL code using standard Lisp sexp-notation. I did this
because Emacs has plenty of lisp modes for my mark-up and indentation
needs. But recently I ran into code that refused to work with "set"
or "setq." I finally had to revert to this in order to get this
simple swap to work:
temp = obj1~>points
obj1~>points = obj2~>points
obj2~>points = temp
The (non-working) Lispish version looked like this:
(setq temp obj1~>points)
(set obj1~>points obj2~points)
(set obj2~>points temp)
Anyone know the magic here? Is there some specialized set command
that works only with db objects?