Added optional ttt filename parameter for vcs_music.l65.

This commit is contained in:
g012 2017-10-11 15:36:27 +02:00
parent 10fac6307b
commit d72c8c83e6
2 changed files with 3 additions and 2 deletions

View File

@ -125,7 +125,8 @@ A simple parsing of number literals in the form of `0b11011` converts this base-
#### getopt(optstring, ...)
Taken from [Posix Get Opt](http://lua-users.org/wiki/PosixGetOpt).
Parse args in `...` using optstring, the same way as `getopt` from Posix.
Parse args in `...` using `optstring`, the same way as `getopt` from Posix.
Usage:
```lua

View File

@ -6,7 +6,7 @@ local AUDC1s, AUDF0s, AUDF1s, AUDV0s, AUDV1s = AUDC0s+1, AUDC0s+2, AUDC0s+3, AUD
local vubars = 0xA0
local tmp = 0xB0
local zic_filename = 'Ishtar.ttt'
local zic_filename = ... or 'Ishtar.ttt'
local zic = ttt(zic_filename)
print(string.format('Using file %s (ttt version %d)\n Name: %s\n Author: %s\n%s', zic_filename, zic.version, zic.name, zic.author, zic.comment))