mirror of
https://github.com/g012/l65.git
synced 2025-01-16 01:31:25 +00:00
Added optional ttt filename parameter for vcs_music.l65.
This commit is contained in:
parent
10fac6307b
commit
d72c8c83e6
@ -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
|
||||
|
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user