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,095 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,091 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,061 Views)