Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VB script Code.
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi
Can anyone please help me in writing the vbscript code for following output.

user will enter some no., according to that following should print.

for Eg:

No=5

1
12
123
1234
12345

above should be the output.

Thanks.
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi
Please find the below code


Code:
n = inputbox("Enter a number","Printing the output")
For i=1 to n
x = x&i
print x
Next

Thanks
Tanya
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
Thanks Tanya,
Good one.. Cheers!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Pause script with code JRDew 6 13,465 03-08-2011, 09:46 PM
Last Post: tdevick

Forum Jump:


Users browsing this thread: 1 Guest(s)