Zalerinian, on 05 September 2012 - 12:11 AM, said:
ChaddJackson12, on 04 September 2012 - 08:35 PM, said:
How to combine this code into one statement?
write("nCancellation For ") write(formalname1) write(" Successful!")
I don't really want to have to type write that many times.. And with textutils.slowPrint(), it doesn't work very well at all either. Any help? And can someone explain it as well for textutils.slowPrint()?
Thanks.
As well as what Omega said, you could have this:
write("nCancellation For "..formalname1.." Successful!")
The only difference really is it saves you the use of another variable.
Ok thanks, I have tryed these statements (below) but haven't tryed this one.
write("Stuff", something, "More Stuff)
write(something, "More Stuff")
write("Stuff" + something + "More Stuff")