Posted 01 June 2016 - 03:44 PM
I am working on a "lua console faker" program and it reads what the user types in (local input = read() ) it does not print out the working
directory when you type in cd rom for example so I was wondering if I can like remove the spaces between the two strings.
Example:.
wdir = shell.dir()
print(wdir,">")
but the output is for example:
rom > .
i would like to print this like this:
rom>
directory when you type in cd rom for example so I was wondering if I can like remove the spaces between the two strings.
Example:.
wdir = shell.dir()
print(wdir,">")
but the output is for example:
rom > .
i would like to print this like this:
rom>
Edited on 01 June 2016 - 02:06 PM