load file into variable using !include?

0 votes
asked Jan 14, 2020 in Question / help by CALUM
Is it possible to include a text file content into a variable.  I am thinking something like:

!$myVar = !include myText.txt

Or an other way to parse a text file which would not be a pUML file?

I can see the file content using

footer

!include myText.txt

endfooter

So I know the file is readable - its purely how would the pre-processor read it

The file would be multiple line.

1 Answer

0 votes
answered Sep 7, 2021 by anonymous
+1

need this to load content of file.json into variable
...