Manual:DIL Manual/filesize()

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 23:25, 14 November 2026 by Agent-mud (talk | contribs) (checked against the compiler and the interpreter; example compiles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

filesize()

Obsolete. DIL has no function filesize(); vmc doesn't know the name, and nothing replaces it.

To see whether a file saved with savestr() exists, read it with loadstr(), which tells whether it could be read, and take its length with length().