FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
for (i=n;i<=n;i--)
msvisual.com Forum Index
->
VB Syntax
Author
Message
sunita
Joined: 04 Oct 2007
Posts: 1
Posted: Mon Jun 05, 2006 5:19 pm
Post subject: for (i=n;i<=n;i--)
Hi All,
how do I write in vb script Please send me a reply as soon as possible.
Sunita
Archived from group: microsoft>public>vb>syntax
Back to top
Bob Butler
Joined: 04 Oct 2007
Posts: 1325
Posted: Mon Jun 05, 2006 10:56 am
Post subject: Re: for (i=n;i<=n;i--)
"sunita" wrote in message @uwe
> Hi All,
> how do I write in vb script Please send me a reply as soon as
> possible. Sunita
I'm not sure what you are asking.... for/next syntax in VB is
for = To [Step ]
the literal translation of your line would be
for i=n to n step -1
' code
next
but since the "loop" can only excute once with those limits a better
translation would be
i=n
'code
--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
msvisual.com Forum Index
->
VB Syntax
All times are GMT
Page
1
of
1
Jump to:
Select a forum
Microsoft Visual Basic
----------------
VB General Discussions
VB Deployment
DirectX
VB Enterprise
VB DOS
OLE
OLE Automation
VB Syntax
VB WinAPI
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum
Powered by
phpBB
© 2001, 2005 phpBB Group