BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
rshehadah
Contributor

Marker Script

Hi,

 

I have a script shown below:

 

 

Names Default To Here( 1 );
dt = Current Data Table();
For( i = 1, i <= N Rows( dt ), i++,
	If(
		dt:DFO[i] == "DFO",
			Row State( i ) = Combine States(
				Marker State( 8 ),
				Excluded State( Excluded( Row State( i ) ) ),
				Hidden State( Hidden( Row State( i ) ) )
			),
		dt:Green[i] == "Green",
			Row State( i ) = Combine States(
				Marker State( 3 ),
				Excluded State( Excluded( Row State( i ) ) ),
				Hidden State( Hidden( Row State( i ) ) )
			),
		dt:Xt[i] == 0 & dt:Y[i] == 0 & dt:Z[i] == 0,
			Row State( i ) = Combine States(
				Marker State( 4 ),
				Excluded State( Excluded( Row State( i ) ) ),
				Hidden State( Hidden( Row State( i ) ) )
			)
	)
);

 My problem is the last part of the script, dt:X[i] == 0 & dt:Y[i] == 0 & dt:Z[i] ==0,

How can I get multiple conditions to set a marker. 

 

Thank you

0 Kudos
1 REPLY 1
Highlighted
rshehadah
Contributor

Re: Marker Script

NVM fixed the problem. I was missing a comma.
0 Kudos