Skip to content

Stringtext

Symbolic Value : Resource Definition
stringtext - Assign an error code number to a text string.

#include <globerr.h>

Symbolic Values :

Description :

Assigns the given error code to the given text string. When language compiling, the macro actually amounts to nothing more than a comment. When resource compiling a module (RC), the macro is used to map error code numbers to a corresponding text string.



    Prior to Release 4.5, an alternative form was defined due to a compiler bug in MPW C. The compiler generated an error when a macro evaluated to nothing and is followed by another #define.



    /* "stringtext" designates translatable text fragments that need to be
    translated, but are not shown to the user as a "message" (error,
    warning or otherwise). There should be no online help for these. */

    #define stringtext(code,text)

See Also : errortext helptext apitext debugtext internaltext blocktext semtext limitedasciitext donottranslatetext