Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

DIAdem Renames My User Variable

Primary Software: DIAdem
Primary Software Version: 10.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I have created user variables in a .VAS file that begin with a numeric character. When I use this variable as a parameter to a function, DIAdem renames the variable's first character to an underscore. Why is DIAdem changing my variable's name?

Solution:
This is actually a limitation of VB Script which DIAdem is enforcing. VB Script does not allow variables to begin with a numeric character. Rather than throwing an error, DIAdem changes the first character to an underscore. This allows your variable to be used correctly without throwing any errors. To stop this from happening, name your variables with either an alphabetic character or an underscore.

Related Links:
KB 1ZUDPSXC: How Do I Use User Variables in DIAdem?



Attachments:





Report Date: 03/28/2007
Last Updated: 03/29/2007
Document ID: 47RI3I9K

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit