Description
The #pragma strings directive sets storage type for strings. It specifies that the compiler can place strings into read-only memory or must place strings into read/write memory. Unlike previous versions of VisualAge C++, this pragma can appear anywhere in a source file.
For code that will be compiled with the C compiler,
this pragma must appear before any C code.
Syntax
Strings are readonly by default.
For example,
#pragma strings(writeable)
![]()
Preprocessor
Directives - An Overview
Preprocessor
Directive - #pragma
