CCS can't evaluate variable as integer

Posts: 10
3096     2

I get a variable, lets say the number 100, as declared below:


$port /.+?\s/
$speed Integer


[[$port]].+?ID: \S+ .[[$speed]]Mb\)


But then cannot evaluate it like so, 


Trigger-Commands: {$speed < 101}

NetMRI says it is a string and throws an error.  Ive tried declaring $speed as a different evaluation types, but it always comes out to string.  Any help?

Re: CCS can't evaluate variable as integer

Posts: 239
3096     2

This was just answered about a week ago.  Look at "CSS Trigger-filter treat variables as numbers??"

Showing results for 
Search instead for 
Did you mean: 

Recommended for You