adoman
|
  |
| Joined: 01 Sep 2010 |
| Total Posts: 306 |
|
|
| 10 Jan 2016 08:13 PM |
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 |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2016 08:16 PM |
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 ;) |
|
|
| Report Abuse |
|
|
adoman
|
  |
| Joined: 01 Sep 2010 |
| Total Posts: 306 |
|
|
| 10 Jan 2016 08:17 PM |
| Stop please no spam, Just want to know how to do this.. |
|
|
| Report Abuse |
|
|
Nemraz
|
  |
| Joined: 08 Dec 2012 |
| Total Posts: 3879 |
|
|
| 10 Jan 2016 08:17 PM |
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. |
|
|
| Report Abuse |
|
|
Nemraz
|
  |
| Joined: 08 Dec 2012 |
| Total Posts: 3879 |
|
|
| 10 Jan 2016 08:18 PM |
| http://wiki.roblox.com/index.php?title=Variable |
|
|
| Report Abuse |
|
|
adoman
|
  |
| Joined: 01 Sep 2010 |
| Total Posts: 306 |
|
| |
|
adoman
|
  |
| Joined: 01 Sep 2010 |
| Total Posts: 306 |
|
|
| 10 Jan 2016 08:20 PM |
No, like println
where the output bar shows everything on the Same line
|
|
|
| Report Abuse |
|
|
|
| 10 Jan 2016 08:20 PM |
What are you asking? Just say print("hellohellohello") ...
|
|
|
| Report Abuse |
|
|
bobbowolf
|
  |
| Joined: 15 Jan 2010 |
| Total Posts: 11398 |
|
|
| 10 Jan 2016 08:28 PM |
Comic Sans, that's how
From, your local bonehead |
|
|
| Report Abuse |
|
|
adoman
|
  |
| Joined: 01 Sep 2010 |
| Total Posts: 306 |
|
| |
|
bobbowolf
|
  |
| Joined: 15 Jan 2010 |
| Total Posts: 11398 |
|
|
| 10 Jan 2016 08:48 PM |
well i dont know
#code Use comic sans #code you know this is just a test of the code thing k? |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2016 08:49 PM |
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. |
|
|
| Report Abuse |
|
|
adoman
|
  |
| Joined: 01 Sep 2010 |
| Total Posts: 306 |
|
| |
|
|
| 10 Jan 2016 08:56 PM |
"answered : io.write"
The standard I/O library is disabled inside ROBLOX. |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2016 09:03 PM |
Scripting Helpers
#code ("𝗧𝗮𝗸𝗲 𝗮 𝗹𝗲𝗮𝗸 𝗳𝗿𝗼𝗺 𝘁𝗵𝗲 𝗼𝘁𝗵𝗲𝗿 𝘀𝗶𝗱𝗲!")
|
|
|
| Report Abuse |
|
|
|
| 10 Jan 2016 09:05 PM |
"Scripting Helpers"
Game-Design now. Scripting-Helpers was dissolved.
Although most users deliberately post their questions inside Scripters. |
|
|
| Report Abuse |
|
|
|
| 10 Jan 2016 09:05 PM |
Impossible to do, unless you print the results afterwards
|
|
|
| Report Abuse |
|
|