From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

vas variable line continue

Hi,
I am trying to define a text array in a .VAS file.  I tried to use the _ for line continuation in the variable definition, but DIADem does not seem to like this.  Anyway to do this, or do I need to define my variable all in one line?  Just easier to see it if each entry is listed down the page.
 
Example
 
myVar_ : A ('Text1', _
                    'Text2', _
                    'Text3') <'Text1'>
 
Thanks in advance,
Scott
0 Kudos
Message 1 of 3
(3,093 Views)

OK,

my error was not he line continue, it was the spaces I had in the elements.  Why can't the variable elements have spaces in them?

Example:

myVar_ : A('My text','Another text')  <>

0 Kudos
Message 2 of 3
(3,089 Views)

Hi Scott,

I just tested this out and I was able to add spaces in my text array. I simply took the example and changed it as such:

MyDays_ : A ('Fri day', 'Satur day', 'Sun day') <'Satur day'>

This worked for me. What is the specific error message that you are receiving in DIADem? The editor should give us a clue as to where the problem is.

Regards,

Matt M.
NI

0 Kudos
Message 3 of 3
(3,059 Views)