I write or make changes to existing .cel scripts (at least I translate the print lines), and sometimes it happens to make some -stupid- mistake, e.g. using characters that scripts don't understand, or something else.
Well, the only message given by Celestia is:
Error in Script File
Bad Parameter List
Could it be possible to have, just for example, the following line added:
Error in Script File
Bad Parameter List
at Line 147
This is used in many softwares, and I think it could avoid losing lots of time to .cel writers/users.
Chris, can you help us, please?
Thank you
Andrea
Mistake identification in .cel scripts
Mistake identification in .cel scripts
"Something is always better than nothing!"
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
HP Omen 15-DC1040nl- Intel® Core i7 9750H, 2.6/4.5 GHz- 1TB PCIe NVMe M.2 SSD+ 1TB SATA 6 SSD- 32GB SDRAM DDR4 2666 MHz- Nvidia GeForce GTX 1660 Ti 6 GB-WIN 11 PRO
-
- Posts: 1048
- Joined: 19.10.2003
- With us: 21 years 3 months
- Location: Germantown, Ohio - USA
Now THERE's an EXCELLENT suggestion...
If you forget a brace in a wait {duration 5.0} command, or ANY command for that matter, you have to investigate the ENTIRE script to discover the error.
Unless, of course, you make one change at a time and try to re-run the script after every change. You can also save a backup copy before you make any changes, but Andrea's suggestion is an EXCELLENT suggestion.
Anybody listening?
Thanks, Bob
If you forget a brace in a wait {duration 5.0} command, or ANY command for that matter, you have to investigate the ENTIRE script to discover the error.
Unless, of course, you make one change at a time and try to re-run the script after every change. You can also save a backup copy before you make any changes, but Andrea's suggestion is an EXCELLENT suggestion.
Anybody listening?
Thanks, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1