Do as I say, don't do as I do...
Just having a bit of fun (prompted by something I tripped over debugging), I did a "Find in Files" for the text "CompilerWarnings Off" in DF 20.1.
There were a few... ;)
C:\Program Files\DataFlex 20.1\Pkg\DfDafMac.pkg
- (Ln 31) CompilerWarnings Off
- (Ln 46) CompilerWarnings Off
- (Ln 114) CompilerWarnings Off
- (Ln 126) CompilerWarnings Off
C:\Program Files\DataFlex 20.1\Pkg\dfDeoft.pkg
- (Ln 69) CompilerWarnings Off
C:\Program Files\DataFlex 20.1\Pkg\Dll.pkg
- (Ln 203) CompilerWarnings Off
- (Ln 224) CompilerWarnings Off
- (Ln 312) CompilerWarnings Off
- (Ln 319) CompilerWarnings Off
- (Ln 326) CompilerWarnings Off
- (Ln 333) CompilerWarnings Off
- (Ln 341) CompilerWarnings Off
C:\Program Files\DataFlex 20.1\Pkg\GlobalFunctionsProcedures.pkg
- (Ln 312) CompilerWarnings Off
- (Ln 323) CompilerWarnings Off
C:\Program Files\DataFlex 20.1\Pkg\Registry.Pkg
- (Ln 39) CompilerWarnings Off
- (Ln 69) CompilerWarnings Off
- (Ln 77) CompilerWarnings Off
- (Ln 89) CompilerWarnings Off
C:\Program Files\DataFlex 20.1\Pkg\report.pkg
- (Ln 913) CompilerWarnings Off
- (Ln 968) CompilerWarnings Off
- (Ln 1245) CompilerWarnings Off
C:\Program Files\DataFlex 20.1\Pkg\VdfBase.pkg
- (Ln 100) CompilerWarnings Off
Mike
Re: Do as I say, don't do as I do...
Re: Do as I say, don't do as I do...
Mike,
Actually, we did what we said (and fully expected you to do) - which is that the system is designed so developers can turn [URL="https://docs.dataaccess.com/dataflexhelp/#t=mergedProjects%2FTools%2FCompiler_Warnings.htm"]compiler warnings[/URL] off (and back on - or not) when and as desired.
Re: Do as I say, don't do as I do...
Stephen
Yes, I realise that (I've been in many of your lectures where you explained it ;)), but I thought it was interesting to note where DAW themselves relied on obsolete/deprecated syntax.
[LIST][*]Gosub[*][Found ~Found] Begin (I barely even understand that one!)[*]Object dbFloatingMenu is a dbFloatingPopupMenu[*]A whole bunch of weird stuff in various conversion functions[*]REG_SET_DWORD / REG_GET_DWORD[*]SET_FOREIGN_PROFILE_STRING / SET_PROFILE_APP_INFO[*]Formfeed[*]Indicate |122 / [|122] / [~|122] (now those are [I]extremely[/I] spooky!)[*]Name[/LIST]
Mike
Re: Do as I say, don't do as I do...
hehehe
another way of saying..
I don't want to clean up my own old stufff.. Not now, at least.. maybe about 2 years from now , if I am in a good mood..
hehehehehehe
Re: Do as I say, don't do as I do...
.... And speaking for myself and probably every other Dataflex'er, the ability to do this is greatly appreciated... so Thank you.
Re: Do as I say, don't do as I do...
You are a bad man, Samuel! ;)
I can totally understand it - I'd be frightened to touch some of that code!
Mike
Re: Do as I say, don't do as I do...
Re: Do as I say, don't do as I do...
I can undestand it either...
No offense.
But sometimes I can't resist...
Re: Do as I say, don't do as I do...
[quote][COLOR=#333333]I don't want to clean up my own old stufff.. Not now, at least.. maybe about 2 years from now , if I am in a good mood..[/COLOR][/quote][COLOR=#333333]
[/COLOR]I can see where you might think that, and to be honest that sentiment is more applicable to the source of our tools - the stuff that doesn't get published - than the overall language and frameworks.
But for the product itself, but it's really more of "We cleaned up the majority of our own old stuff and the stuff we left had too high of a risk/return ratio and would have likely have much higher negative impacts on backwards compatibility had we touched it". :cool: