how to write basic programs in VB Script like addition,
multiplication?

Answer Posted / chandan

'script for adding two numbers
option explicit
dim num1,num2,result
num1=200
num2=300
result=num1+num2
msgbox result

Is This Answer Correct ?    11 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the tristate constants in vbscript?

563


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

486


What is the difference between a dictionary and an array?

583


When does ‘on click of button’ event gets triggered in the vbscript language?

552


How to create a cookie using vbscript?

591






what is the standards used for writing the script in QTP

1892


after medical test,when will be the police verification

1720


what is resorceallocation

1776


what is the object hyrarchy in QTP for a web based application

1889


what is used of Property........End Property loop ? how to write the script for it?

1693


Mention how to assign a date value to a variable?

590


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

1756


wht must be the interview question on corinthian information technology solutions incorporated.

2188


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

2393


Anyone have qtp11.0 crack?

2389