Page 1 of 1

"Header" is a reserved word?

Posted: Wed Sep 09, 2026 6:31 pm
by dunbarx
It is for me. I thought, and suspiciously checked, that I could use it as a variable name. It is not in the dictionary.

Nope.

Craig

Re: "Header" is a reserved word?

Posted: Wed Sep 09, 2026 8:28 pm
by Emily-Elizabeth

Code: Select all

on MouseUp
   local Header
   put "moo" into Header
   put Header
end MouseUp
I get an error on the line "put Header" - Expression missing factor

Re: "Header" is a reserved word?

Posted: Thu Sep 10, 2026 9:29 am
by bn
Look for "put header" in the dictionary:
put header
Type command
Syntax
put [ new ] header header

Summary
Replaces or adds a CGI output header to the current list that is
generated the first time any data is output to stdout.
The fact that "header" is colorized in the script editor should be a hint.
Kind regards
Bernd