I am trying to solve my previous problem posted here but when reading the documentation of FileTemplate, I find unclear information about the file object.txt used in

t = FileTemplate["Examples/String/object.txt"]

What is the contents of this file?


Since FileTemplate by default has Path -> $TemplatePath, we should change $Path accordingly:

Block[{$Path = $TemplatePath}, FindFile["Examples/String/object.txt"]]
"C:\Program Files\Wolfram Research\Mathematica\10.4\SystemFiles\Components\Templating\Resources\TemplateLoader\Examples\String\object.txt"

This is a `attribute` `object`.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.