Solved

No dim....As String?

Posted on 2002-03-27
6
1,787 Views
Last Modified: 2012-08-13
Hi Experts,

One more small question:

No
Dim myString As String
only
Dim myString
???
0
Comment
Question by:wellwet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 11

Accepted Solution

by:
thunderchicken earned 60 total points
ID: 6899470
Yes

All dims are Variants
0
 

Author Comment

by:wellwet
ID: 6899503
Hi thunderchicken,

Thank you.

I also found For i = 1 to ....Next without Next i. It looks some different between pear VB and VBScript....Where to find tutotial that explains those things?
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 6899558
Actually, the "Next i" notation is NOT required in "PURE VB" itself.  That is really an artifact for VB's roots in BASIC.  It is used mostly for internal 'documentation', and if you DO NOT supply the loop variable name in the Next statement, VB will automatically step the immediately preceding 'For Loop-Variable...' statement.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:thunderchicken
ID: 6899632
I always use

for i = 1 to 10
  'do foo
next 'i

just to follow what i'm doing...

0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 6899942
>> Where to find tutotial that explains those things? <<
Key Differences Between Visual Basic for Applications and VBScript
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dninvbs/html/keydifferencesbetweenvisualbasicforapplicationsvbscript.asp
INFO: Visual Basic for Applications Features Not in VBScript (Q190273)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q190273
INFO: VBScript Features Not in Visual Basic for Applications (Q190274)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q190274

Anthony
0
 

Author Comment

by:wellwet
ID: 6900243
Thanks a lot for all the helps from experts here.....
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question