Found a divergence in /ping command output between V6 and V7.
Consider an unreachable IP address (10.99.99.99) and script sentence to return TRUE if actually unreachable :
I found out that in V7 you can use the parameter “as-value”. This converts the result to a string.
Furthermore I found out that the “Status” column only is filled out when the ping has failed. I can be wrong on this but I couldn’t create a scenario where there was connection while status was filled out.
We can therefore use the status column (or lack of) to determine if there is connection or not