Jump to content

Rosetta Code/Fix code tags: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 486:
txt := FileTools[Text][ReadFile]("C:/Users/username/Desktop/text.txt"):
#langs should be a real list of programming languages
langs := ['foo', 'barbarf', 'baz'];
for lan in langs do
txt := StringTools:-SubstituteAll(txt, cat("<", lan, ">"), cat ("<lang ", lan, ">")):
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.