Re: Wish I was using .net
Tech-Archive recommends: Speed Up your PC by fixing your registry
"Michael D. Ober" <obermd.@.alum.mit.edu.nospam> wrote in message
news:5DSKf.4204$JR6.1770@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
With "Option Strict On", the VB 2005 compiler won't allow your code. It
gives the warning "Option Strict On disallows implicit conversions from
'Double' to 'Long'. With Option Strict Off, the compiler accepts this.
Set
your project defaults to "Option Strict On" and also have the compiler
treat
all warnings as errors.
I was talking about vb6.
Michael
.
Relevant Pages
- Re: Wish I was using .net
... With "Option Strict On", the VB 2005 compiler won't allow your code. ... gives the warning "Option Strict On disallows implicit conversions from ... dim dblRate as double, dblHours as double ... (microsoft.public.vb.general.discussion) - Re: Why INFINITE loop in a thread occupy so much CPU time??
... With the attendant warning about the constant expression. ... This is a common programming technique. ... Good programming practice would consist of using the compiler at ... One can write 'bool' in C++ but not C. ... (microsoft.public.vc.mfc) - Re: help needed please!
... But some compilers like to give you a warning ... Each warning a compiler can give you is important when you not ... but you may use flages to handle flags to handle flags when you ... >> stdout is line bufferd and until one or both of the following cases is ... (comp.lang.c) - Re: Overloading abstract methods
... I'm calling this abstract class ResumeWriter. ... > use of in each subclass is up to you. ... >> However, if I do that, I get compiler warnings that the parameters for ... Disable that warning. ... (comp.lang.java.programmer) - Re: Portability / compatibility issues
... I have posted my test code below, and the results I get on each compiler. ... The crux of the matter is that the 'strstr' function differs wildly in its behaviour on different platforms, and precious few man pages will actually provide a worked example of any function, let alone this one. ... I have had to write the "has_slash" function and use the reserved work SLASH already, to get around the problems that strstrgives me. ... (comp.lang.c) |
|