Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Visual Basic
increment
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
aashrith
New Member
Join Date:
Nov 2007
Posts:
3
#1
increment
Nov 27 '07, 12:52 PM
How to print character say * incrementing one in each row can anybody tell the code?
Last edited by
Killer42
;
Nov 28 '07, 01:36 AM
.
CyberSoftHari
Recognized Expert
Contributor
Join Date:
Sep 2007
Posts:
488
#2
Nov 27 '07, 01:02 PM
No one here to do your homework, you have to try.
Use [CODE=vb]string(intIncre mentVal,"*")[/CODE] in a for loop.
Comment
Post
Cancel
Killer42
Recognized Expert
Expert
Join Date:
Oct 2006
Posts:
8429
#3
Nov 28 '07, 01:37 AM
Originally posted by
aashrith
How to print character say * incrementing one in each row can anybody tell the code?
Can you try to explain what you mean in more detail? Plus, what version of VB are you using?
Comment
Post
Cancel
CyberSoftHari
Recognized Expert
Contributor
Join Date:
Sep 2007
Posts:
488
#4
Nov 28 '07, 04:10 AM
He means to get the output of:
Output
-----------
*
**
***
****
*****
Last edited by
Killer42
;
Nov 28 '07, 04:47 AM
.
Comment
Post
Cancel
aashrith
New Member
Join Date:
Nov 2007
Posts:
3
#5
Nov 28 '07, 05:27 AM
Yes, this is my requirement i am new to vb can you please send the code.
Output
-----------
*
**
***
****
*****
Comment
Post
Cancel
CyberSoftHari
Recognized Expert
Contributor
Join Date:
Sep 2007
Posts:
488
#6
Nov 28 '07, 07:11 AM
What is the version of VB?
(if it is VB 60 then you can try as I post @ #2)
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment