Error when declaring the variable type
Why do I always get an error when I declare the variable type?
For example if I put the following statement in my script I get an error: Dim B As Boolean |
Hi hrZN,
I'm not sure how this relates to one of our products, but what error do you get? What scripting language are you using? |
Hi hrZN,
It sounds like you are trying to use Visual Basic, not VBScript. SecureCRT supports VBScript, and in that language you do not specify a type (because all variables in VBScript are of type VARIANT). So instead, you would use: Dim B |
Thank you Brenda, yes I thought it was Visual Basic, I did not know it is VBScript. That is a very useful information for me.
|
|
All times are GMT -6. The time now is 12:41 AM. |