I keep seeing this word pragma. What does it mean?

and yes I have googled, and because it shows up in different places, I can't even tell if it is verb noun or other.

Just one example:

void handleNewsConfigure() {
if (!athentication()) {
return server.requestAuthentication();
}
digitalWrite(externalLight, LOW);

server.sendHeader("Cache-Control", "no-cache, no-store");
server.sendHeader("Pragma", "no-cache");
server.sendHeader("Expires", "-1");
server.setContentLength(CONTENT_LENGTH_UNKNOWN);
server.send(200, "text/html", "");

sendHeader();

see Directive (Programming)

See this: Pragma - HTTP | MDN

It has nothing to do with the #pragma C/C++ preprocessor directive

Ok thanks. Essentially multiple definitions and multiple uses under one or more of those definitions. Laughing as he types this.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.