Posted 23 July 2015 - 12:00 PM
Hi,
im using this code to ask a user for a global variable, this works fine in another code that i saw on the internet, but it seems that i dont get it. Unfortunalty i cannot provide you with an error, cause at the place where i am at this moment, i cannot run Java :/
Edit: damn, tab's havent been copied to
im using this code to ask a user for a global variable, this works fine in another code that i saw on the internet, but it seems that i dont get it. Unfortunalty i cannot provide you with an error, cause at the place where i am at this moment, i cannot run Java :/
testvar = AskForVar("Write something")
function AskForVar(help)
UserInterface()
print("Die Variable \""..varname.."\" wird erstellt.")
write("Bitte geben Sie den Startwert ein (Hilfe: "..help.."):")
return varname = read()
end
print(testvar)
Edit: damn, tab's havent been copied to
tag
Edited on 23 July 2015 - 10:12 AM