User Tools

Site Tools


proc_set_function_called_as_procedure_without_warnings_.htm
Navigation:  Language Reference > 2 - Program Source Code Format > Prototype Attributes >====== PROC (set function called as procedure without warnings) ====== Previous pageReturn to chapter overviewNext page

 

PROC

blk2blue.jpg

The PROC attribute may be placed on a PROCEDURE prototyped with a return value. This allows you to use it as normal a PROCEDURE call, not only in expressions and assignments, for those instances in which you do not need the return value. The PROC attribute suppresses the compiler warnings you would otherwise get from such use.

Example:

MAP

 MODULE('STDFuncs.DLL')    !A standard functions .DLL

Func50 PROCEDURE(SREAL),REAL,PASCAL,PROC

 END

END

See Also:

PROCEDURE

proc_set_function_called_as_procedure_without_warnings_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)