Out of the different type of operators, which are evaluated first and last in the vbscript language?



Out of the different type of operators, which are evaluated first and last in the vbscript language?..

Answer / Vikas Dubey

'Unary +' is evaluated before all other operators except parentheses. 'And' and 'Or' are short-circuited operators that are evaluated after all arithmetic and comparison operations within a logical expression. 'Not' is also an operator that operates after all other operators.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....

1 Answers  


what is fire event method in qtp?

3 Answers   TCS,


Explain the functionality of vbscript?

1 Answers  


How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.

1 Answers   GE, iGate,


Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..

10 Answers   Amazon, CSC,


write a vb script code to display the vbscript word by word (i e 1st it should display v then b and up to t )

1 Answers  


WHAT IS ENVIRONMENT VARIABLES?and where it is used in real time scenario?

2 Answers  


Which operator can be used to change the value of the operand or change the state of the condition?

1 Answers  


What is the equivalent of VBScript?s On Error In Jscript ?

1 Answers   Microsoft,


Mention what is the main difference between function and sub-procedure?

1 Answers  


What is the difference between vb debugger and the script debugger?

1 Answers  


what is event handling?

1 Answers  


Categories