I'm a relatively seasoned AutoLISP programmer, and am currently working on a program. Near the beginning are five user prompts:
(setq file_data (getfiled "Select data file" (getvar "dwgprefix") "csv" 0))
(setq file_template (getfiled "Select template file" (getvar "dwgprefix") "dwg" 0))
(setq bent_start (getstring "\nStarting bent number "))
(setq bent_end (getstring "\nEnding bent number "))
(setq prefix (getstring "\nBent drawing prefix "))
When I run the program from the Visual LISP console, it correctly prompts for the two files, but then "skips" to the third string ("Bent drawing prefix"). After the program errors out, I go back to check the command line, and it looks like this:
Command: 'VLIDE
Starting bent number 'VLIDE
Ending bent number 'VLIDE
Bent drawing prefix Test
The first two strings are shown as having been prompted, but immediately following it shows 'VLIDE.
Running the program from AutoCAD itself works fine, but it's not as helpful for debugging.
This has happened a few times, but only recently. We upgraded to 2013 software (still using 2007 DWG format), so perhaps that is related, but I don't know.
Thank you for any help you can provide.