Message 1 of 4
Associate user input string to specific variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I have defined a value to each date of the year
for example
(Setq 21/06/16 (441294067.896324))
(Setq 22/06/16 (443874734.960046))
The lisp routine prompts the user to enter a date in the format (dd/mm/yy)
(setq date (getstring "Enter date (dd/mm/yy) "))
How do I associate the string entered by the user to the specific value associated with that particular date in my list of variables?
For example the user enters: 21/06/16, how do I get it to use the value 441294067.896324 for use in other commands?
Thanks