Hi Friends,
Can anyone tell, How can we add two numbers in VB script without using arithmatic operators
a=10
b=5
Can anyone tell, How can we add two numbers in VB script without using arithmatic operators
a=10
b=5
How Can we add two numbers in VB script without using Arithmatic operators
|
Hi Friends,
Can anyone tell, How can we add two numbers in VB script without using arithmatic operators a=10 b=5
Hi,
I wonder why no one has ever answered to this question :o Let me try : Code: Dim intNumber1 : intNumber1 = 10 I know this is a very crude solution, so i will be looking to improve on it myself and if anyone of you can suggest a better solution , please do that ...
you are alsmost there arescool
but your code would return 31, Which is not the answer expected here. how about this? Code: intNum1=10
try this below, simple way in QTP
Code: DataTable.AddSheet("AddNumberwithoutArthOper").AddParameter "FirstNumber",iFirstNumber Let me know if you need further iNfo... If you feel this answer solved your query, please mark the status as "solved"and click on "Give Reputation for this user" buuton in my post.
Thanks,
SUpputuri
Using pure vbscript
Code: a = 10 |
« Next Oldest | Next Newest »
|