RE: WITHOUT WARNING ?

new topic     » topic index » view thread      » older message » newer message

Bernie Ryan wrote:
> If you have local constants like this and don't use them 
> without warning will not STOP an error message saying 
> they that local constants A B C D were not used.
>
> without warning
>
> constant A = 1,
>         B = 2,
>         C = 3,
>         D = 4
>
> with warning

You can add:
    without warning
at the top of any file that is giving you
nuisance warnings. A single:
   without warning
at the top of your main file will normally
suppress all warnings.

Warnings about parameters and private variables
can be suppressed by surrounding a particular
routine with:
   without warning
   ...
   with warning

Warnings about local, file-scope, symbols (like above) 
are actually detected and issued at the end of the file.
That's the point where the interpreter knows
that the symbol is not used.
If you place:
    without warning
at the very end of the file, it will suppress this
type of warning without suppressing other warnings.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu