view src/ploki/examples/write.pk @ 9154:a54e1016e690

<oerjan> learn E-modules are modules over a web ring. Uaneb invented them.
author HackBot
date Wed, 05 Oct 2016 15:05:28 +0000
parents ac0403686959
children
line wrap: on
line source

#!../ploki
LET fname "foo.txt"
LET fh @SAPERS fname
IF @NOT @IO-P fh
  WUNT "\Vfname: \V\!\n"
  END -1
FI
WUNT fh, (\ENV"USER"_" ("_\ENV"HOME"_") "_\ENV"PWD"_"\n"_\?_"\n")
CLAUDS fh
IF \_
  WUNT "\Vfname: \V\!\n"
  END -1
FI