ooRexx (64bit): 5.1.0 (r12838) and 5.0.0 (r12227)
On: Linux 6.9.1-arch1-1
Space before "::END" deliminator:
say .resources~Text
::resource Text
Line 1
Line 2
::END
Small letters for deliminator:
say .resources~Text
::resource Text
Line 1
Line 2
::End
Both lead to the same output:
Error 99.943: Missing ::RESOURCE end marker "::END" for resource "TEXT".
The following example leads to a similar undesirable result:
say .resources~Text
::resource Text end "-"
Line 1
Line 2
------------------
The deliminator should be recognized regardless of the space before it or the capitalization.
Anonymous
From the documentation:
The terminating resource end delimiter must start in the first column and is case-sensitive. Any text following on the same line as the terminating delimiter is ignored.
This is working as designed and documented, so this is not a bug. These rules are specifically to reduce the chances that text in the resource block does not get recognized as being the terminator.
Sorry for the inattention and thanks for the explanation! It was just an unexpected behavior, but it makes sense now.