The most recent thread I found mildly relevant had no activity for over a year and though I am a fan of necromancy I know it's frowned upon by most widdards. I think I'm having problems with syntax but I cannot find my screwup. gg.prompt returning nil despite having value
my debugging code:
local num = gg.prompt({'BigNumber; Td = 42, qd = 45, Qd = 48, sd=51, Sd=54, Od=57, Nd = 60, V = 63, uV = 66, DV = 69, TV =72'},{[1]='3.861e69'},{'text'})
alert(num[1])
my error:
Script ended:
Script error: luaj.o: /storage/emulated/0/Notes/bocks.lua:6
`alert(num[1])`
attempt to call a nil value (global 'alert')
level = 1, const = 7, proto = 0, upval = 1, vars = 5, code = 15
CALL v1..v2
; PC 13 CODE 0100405D OP 29 A 1 B 2 C 1 Bx 1025 sBx -130046
stack traceback:
/storage/emulated/0/Notes/bocks.lua:6 in main chunk
[Java]: in ?
at luaj.LuaValue.a(src:2835)
at luaj.LuaValue.Z(src:1966)
at luaj.LuaValue.a(src:1419)
at luaj.LuaClosure.a(src:534)
at luaj.LuaClosure.l(src:160)
at android.ext.Script.d(src:6056)
at android.ext.Script$ScriptThread.run(src:5785)
Guidance to what I'm missing I feel like it's going to be impressively trivial
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
Tonos
The most recent thread I found mildly relevant had no activity for over a year and though I am a fan of necromancy I know it's frowned upon by most widdards. I think I'm having problems with syntax but I cannot find my screwup. gg.prompt returning nil despite having value
my debugging code:
my error:
Guidance to what I'm missing I feel like it's going to be impressively trivial
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.