Very basic question on CRS scripts

Answered Question
May 21st, 2009

I have an "if" statement in a script I'm putting together. If I want to create a condition where a variable equals "3". I could enter

queuelength == 3

What would this look like if I wanted to create a condition of queuelength being equal to a variable between 3 and 6?

I have this problem too.
0 votes
Correct Answer by Hiep Tran about 7 years 8 months ago

shikamarunara,

You can do something like

queuelength >=3 && queuelength <=6

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Hiep Tran Thu, 05/21/2009 - 08:35

shikamarunara,

You can do something like

queuelength >=3 && queuelength <=6

Actions

This Discussion