answersLogoWhite

0

How will you defined variavble in vb script?

Updated: 8/18/2019
User Avatar

Wiki User

11y ago

Best Answer

To define a variable in VBScript, you use the keyword "Dim" followed by the name of the variable. You can name the variable any string so long as it

  • Begins with a letter
  • Does not contain a period (.)
  • Is not longer than 255 characters

So "tom" is a valid variable name, but "tom.d" is not.

To assign value to the variable, you use the assignment operator (=)

Dim coolWebSite = "Answers.com"

The variable "coolWebSite" will now contain the string "Answers.com"

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How will you defined variavble in vb script?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between vb script and java script?

JavaScript is just like VB Script, but VB Script is what windows made to try to get rid of JavaScript, but as you can see im sure JavaSript is the winner. They are the same thing pretty much just a little alterations in the code.


Is VB script language an interpreted or compiled language?

Interpreted.


What is a VB script to sort a string in ascending order?

uitihyiuiphoiphuihyi


Is there a no right click code that isn't java script?

Maybe with VB-script, if the browser is Internet Explorer.


How do you find the average of three numbers using vb script?

Add the numbers, then divide by three. I don't know vb script, but in most programming languages it would be something like this: result = (a + b + c) / 3


What is the default scripting language in ASP?

Default scripting language in ASP is VB Script


How are viruses being programmed?

They are programmed in programming languages or scripting languages like Visual basic , c , c++,java , vb script or java script.


What is the difference between VB-Script and JavaScript?

vbscript is used for server side as well as client side where as java script is used for client side only.


For beginners Suggest a good reference book to learn C Sharp VB Net ADO Net ASP Net for Ms Developer Studio 2005 also suggest books for ASP VB Script Java Script Java Core Java and VB 6.0?

There are ofcourse good books friend... Among them u can try "Programming in c#" by Oreily publications


How virus are being programmed?

They are programmed in programming languages or scripting languages like Visual basic , c , c++,java , vb script or java script.


How do you cc someone in Outlook when you do a mail merge?

You cant cc on a mail merge , use a vb script macro instead.


Which term is defined as the writer of a script for theater?

playwright