Displaying 1 result from an estimated 1 matches for "4digit".
Did you mean:
digit
2011 May 09
3
Lua.c32 - user input / scripting
I'm trying to get this bit of code to work with the lua.c32 interpreter:
--- sample, the goal is to build a script that will allow me to enter a 4digit
mt and load the bios iso accordingly
print ("enter machine type :")
mt = io.read()
print ("you entered...",mt)
doStuff()
if (mt == "8141") then
syslinux.run_command("memdisk initrd=/dos/BIOS/FSC-P7935-108.img raw")
end
--- the problem is that lua kicks...