Script names

Discuss issues and ideas you have to configuring displays with PowerVision
mbowdich
Posts: 209
Joined: Tue Oct 05, 2010 10:54 am

Script names

Post by mbowdich » Fri Jul 15, 2011 1:47 pm

When naming scripts, it is important not only to have unique names (so smGetHandle will get the right handle), but also not to have any reserved characters in it.

For example, a script named "P-Oil" will be interpreted by the compiler as P minus Oil and will fail compile. The error will be: Expected '(', in line the first line of the script.
jpurdum
Enovation Controls Development
Enovation Controls Development
Posts: 153
Joined: Mon Jun 21, 2010 11:19 am

Re: Script names

Post by jpurdum » Mon Jul 18, 2011 4:22 am

Thanks - will share with our documentation folks...