Product Site

5.1.5.34. resources

Returns a StringTable of all data resources that ::RESOURCE directives in the target package define. The StringTable indexes are the resource names, the StringTable values are arrays of individual resource data lines.

See also

Example 5.52. Package class — resources method
say .context~package~resources~allIndexes  -- "BROWN FOX"
                                           -- "GREYCAT"
::resource greyCat
La nuit, tous les chats sont gris
::END

::resource "brown fox"
The quick brown fox jumps over the lazy dog
::END