adomanJoin Date: 2010-09-01 Post Count: 306 |
Normally it goes down a line everytime you print()
How can this print() work on the same line
SO Instead of this
while true do
print("hello")
wait(1)
end
output -
hello
hello
hello
THIS:
while true do
print("hello")
wait(1)
end
output -
hellohellohello |
|
phasifyJoin Date: 2010-01-02 Post Count: 42190 |
aer you asking a question
or is this a tutorial
If you forum on ATR, join my group: http://www.roblox.com/My/Groups.aspx?gid=2696037 ;) |
|
adomanJoin Date: 2010-09-01 Post Count: 306 |
Stop please no spam, Just want to know how to do this.. |
|
NemrazJoin Date: 2012-12-08 Post Count: 3879 |
in the context of what, the output?
oh i see, you have to specify a certain variable or value or something itself that once the script is fully done, takes that info and prints it out. |
|
NemrazJoin Date: 2012-12-08 Post Count: 3879 |
|
|
adomanJoin Date: 2010-09-01 Post Count: 306 |
bump |
|
adomanJoin Date: 2010-09-01 Post Count: 306 |
No, like println
where the output bar shows everything on the Same line
|
|
LeztexTVJoin Date: 2012-01-05 Post Count: 1504 |
What are you asking? Just say print("hellohellohello")
...
|
|
bobbowolfJoin Date: 2010-01-15 Post Count: 11398 |
Comic Sans, that's how
From, your local bonehead |
|
adomanJoin Date: 2010-09-01 Post Count: 306 |
no on a loop.. |
|
bobbowolfJoin Date: 2010-01-15 Post Count: 11398 |
well i dont know
#code Use comic sans #code you know this is just a test of the code thing k? |
|
|
Nemraz is correct.
What I suppose is occurring is that the interpreter is comprehending the line as ending via the "\0" escape character, which is the null zero(Also known informally as the "string terminator") in C.
Given that this would seem to prevent the use of escape sequences, you will need to concatenate each value onto a variable, as shown below:
local s = ""; --I used an empty variable so that "Hello" will stack individual. The semicolons are a habit.
while wait() do --Infinite loop. Self Explanatory.
s = s.."hello";
print(s);
end
Hopefully that helped you. |
|
adomanJoin Date: 2010-09-01 Post Count: 306 |
answered : io.write |
|
|
"answered : io.write"
The standard I/O library is disabled inside ROBLOX. |
|
|
Scripting Helpers
#code ("𝗧𝗮𝗸𝗲 𝗮 𝗹𝗲𝗮𝗸 𝗳𝗿𝗼𝗺 𝘁𝗵𝗲 𝗼𝘁𝗵𝗲𝗿 𝘀𝗶𝗱𝗲!")
|
|
|
"Scripting Helpers"
Game-Design now. Scripting-Helpers was dissolved.
Although most users deliberately post their questions inside Scripters. |
|
|
Impossible to do, unless you print the results afterwards
|
|