Message 1 of 3
(Eval (Read ))

Not applicable
01-20-2006
11:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Does anyone know a way to read a formula as text in a field and then run it
on some variable? It's similar to the following Lisp sample.
In lisp the following would use the variable panel_type to determine the
name of the variable to create.
(setq pnl_offs (eval (read (strcat "pnl" (itoa panel_type) "_offs"))))
I've done it before but I can't remember how. : (
Best regards,
Dale
on some variable? It's similar to the following Lisp sample.
In lisp the following would use the variable panel_type to determine the
name of the variable to create.
(setq pnl_offs (eval (read (strcat "pnl" (itoa panel_type) "_offs"))))
I've done it before but I can't remember how. : (
Best regards,
Dale