ZIL and uppercase versus lowercase

As I work ZIL support into Blorbtools, I came up with a question on how uppercase and lowercase are used in that language. I’ve divined that resources are described like this, looking at the source of Shogun:

<CONSTANT P-TITLE 1>
<CONSTANT P-BORDER-LOC 2>
<CONSTANT P-BORDER 3>
<CONSTANT P-BORDER2 4>

My question is this: Are these constant names required to be uppercase or not?

1 Like

From the MDL docs:

MDL accepts and distinguishes between upper and lower case. All “built-in functions” must be referenced in upper case.

ZILF honors this, although it’s configurable, and it may change in the future. If you’re generating ZIL code, you should generate it in uppercase.

1 Like

I see. I’ll make those constants declared in the blurb file uppercase later on. In the meantime, I’ve pushed some somewhat significant changes to https://gitlab.com/DavidGriffith/blorbtools

2 Likes

up until now, in the “Ultimate test suite” :wink: I have found lowercase only in the strings…

Best regards from Italy,
dott. Piergiorgio.

1 Like