#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
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?
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
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
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#4
|
|||
|
|||
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.
|
#5
|
|||
|
|||
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|