Very basic question on CRS scripts

Answered Question
May 21st, 2009
User Badges:

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?

Correct Answer by Hiep Tran about 8 years 2 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
User Badges:

shikamarunara,


You can do something like


queuelength >=3 && queuelength <=6

Actions

This Discussion