Search the web
Sign In
New User? Sign Up
VisualBasic_Official · Visual Basic . VB.net . VBS . ASP.net
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
VB6 changing upper case variables to lower case   Message List  
Reply | Forward Message #9325 of 9531 |
found duplicate lower-case integer assignment in another module

Yes, I did find that VB6 sometimes gets confused, since it cannot distinquish
between upper and lower case variables; in my case there was an "ns" defined in
an old form which was part of the project.  When I added a new NS to another
form, it never complained, but did revert to the older "ns" after I closed the
project.
 
I also discovered that my old F77 compiler/linker does not permit a format() in
a print or write statement.  I moved the format() from the write statement to a
separate format statement.  For example,
 
       NS = 457
       write(1,*)format(NS,I3)
 
 does not recognize "format."  This next pair of statements works, however. The
I3 denotes that the integer NS should be displayed as three characters.
 
       write(1,33)NS
   33 format(I3)
 
VB6 seems to allow both locations of "format"    Grant


















[Non-text portions of this message have been removed]




Thu Dec 25, 2008 6:05 pm

grantbingeman
Offline Offline
Send Email Send Email

Forward
Message #9325 of 9531 |
Expand Messages Author Sort by Date

I can save an integer variable as upper case, but when I pull up the project at a later time, this same variable has been changed to lower case. For example...
grantbingeman
Offline Send Email
Dec 22, 2008
5:54 pm

might be a restricted name. add something else to the variable name, like another letter or a number...
Matthew Kemmerer
mattsoftnet
Online Now Send Email
Dec 24, 2008
12:51 am

Since VB is not case sensitive, I suspect that somewhere in your code you are using the lower case ns. Why it is changing the definition, I can not answer...
Jeff Steinkamp
n7yg
Offline Send Email
Dec 24, 2008
12:51 am

ryt click the variable name and choose definition.. i suspect that you defined the variable twice on different aspects AgEnT^^^OrAnGe My Greatest Fear is to...
Agent Orange
evil_agentor...
Online Now Send Email
Dec 24, 2008
5:32 pm

Yes, I did find that VB6 sometimes gets confused, since it cannot distinquish between upper and lower case variables; in my case there was an "ns" defined in...
Grant Bingeman
grantbingeman
Offline Send Email
Dec 29, 2008
10:14 pm

Is it possible that there is some global variable already defined w/ the same name, but in lower case that is in scope at the point at which you are setting...
Paul Engel
pengel200
Offline Send Email
Dec 24, 2008
12:51 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help