Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Titleformat - Error checking (Read 863 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Titleformat - Error checking

I had not changed column scripts for quite a while; because of that, when I needed to use the length function I misspelled it as $length() (instead of the correct $len()).
Well, although I noted that the script wasn't working properly, it took me a long time to realize that I was using a non-existent function.
It would be nice if such errors could be flagged to alert users.

Re: Titleformat - Error checking

Reply #1
That would indeed be a benefit. I remember me and @davideleo going over an $if statement in a thread which included $sum that didn't work at all. Only a good hour later it was noticed that $sum doesn't exist, but $add does. Simple stupid mistakes could be avoided with some flagging.

Re: Titleformat - Error checking

Reply #2
There's that titleformatting sandbox plugin for foobar and highlight scripts for notepad++ and maybe couple other editors. You might want to look into those.

 

Re: Titleformat - Error checking

Reply #3
There's that titleformatting sandbox plugin for foobar and highlight scripts for notepad++ and maybe couple other editors. You might want to look into those.

Thanks, was not aware of foo_tfsanbox.