<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.starfall.wtf/index.php?action=history&amp;feed=atom&amp;title=Output</id>
	<title>Output - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.starfall.wtf/index.php?action=history&amp;feed=atom&amp;title=Output"/>
	<link rel="alternate" type="text/html" href="https://wiki.starfall.wtf/index.php?title=Output&amp;action=history"/>
	<updated>2026-07-28T16:17:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.starfall.wtf/index.php?title=Output&amp;diff=484&amp;oldid=prev</id>
		<title>PRG: Created page with &quot;__NOEDITSECTION__ {{CatUp|Studio}} The &#039;&#039;&#039;Output&#039;&#039;&#039; is a panel in Roblox Studio, that displays printed strings or error messages.  The &lt;code&gt;print&lt;/code&gt; and error functions are mainly used to send messages to the output. &lt;!-- Is there a good image of an Output? --&gt; __TOC__ == What the Output can be used for == The output can be used for different things.  One of the main ways to use the output is to debug code.  When testing a really big script, you ma...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.starfall.wtf/index.php?title=Output&amp;diff=484&amp;oldid=prev"/>
		<updated>2024-12-10T22:16:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOEDITSECTION__ {{CatUp|Studio}} The &amp;#039;&amp;#039;&amp;#039;Output&amp;#039;&amp;#039;&amp;#039; is a panel in &lt;a href=&quot;/index.php/Roblox_Studio&quot; class=&quot;mw-redirect&quot; title=&quot;Roblox Studio&quot;&gt;Roblox Studio&lt;/a&gt;, that displays printed strings or error messages.  The &amp;lt;code&amp;gt;print&amp;lt;/code&amp;gt; and error functions are mainly used to send messages to the output. &amp;lt;!-- Is there a good image of an Output? --&amp;gt; __TOC__ == What the Output can be used for == The output can be used for different things.  One of the main ways to use the output is to &lt;a href=&quot;/index.php?title=Debugging&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Debugging (page does not exist)&quot;&gt;debug&lt;/a&gt; code.  When testing a really big script, you ma...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOEDITSECTION__&lt;br /&gt;
{{CatUp|Studio}}&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Output&amp;#039;&amp;#039;&amp;#039; is a panel in [[Roblox Studio]], that displays printed strings or error messages.  The &amp;lt;code&amp;gt;print&amp;lt;/code&amp;gt; and error functions are mainly used to send messages to the output.&lt;br /&gt;
&amp;lt;!-- Is there a good image of an Output? --&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
== What the Output can be used for ==&lt;br /&gt;
The output can be used for different things.  One of the main ways to use the output is to [[Debugging|debug]] code.  When testing a really big script, you may want to throw a few &amp;lt;code&amp;gt;print&amp;lt;/code&amp;gt; commands to the output.  You can even use it to throw an error using the &amp;lt;code&amp;gt;error&amp;lt;/code&amp;gt; function.  Other times, beginning scripters will use the output to learn how to script.  When you create a new script object in Roblox Studio, the code that it has is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
print(&amp;quot;Hello world!&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When you press the green play button at the top of the screen with the output panel open, without changing the script, you will see that it says &amp;lt;code&amp;gt;Hello world!&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== How to use the Output ==&lt;br /&gt;
When first learning how to script, you will want to have the output open.  To do this, perform the following steps:&amp;lt;br /&amp;gt;Go to&lt;br /&gt;
*View&lt;br /&gt;
**Output&lt;br /&gt;
and click it.&lt;br /&gt;
&amp;lt;br/&amp;gt;[[Image:Studio(Menu$View$Output).png‎]]&amp;lt;br/&amp;gt;Now, you will see the Output at the bottom of your screen.  If you want to see it in use, try out the following code in a script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
loops = 5&lt;br /&gt;
for myVar = 1, loops do&lt;br /&gt;
    print(&amp;quot;This is a test print to the output.&amp;quot;, myVar .. &amp;quot; time(s) so far&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After running that code in [[Roblox Studio|Studio]], you should have this in your output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
This is a test print to the output. 1 time(s) so far&lt;br /&gt;
This is a test print to the output. 2 time(s) so far&lt;br /&gt;
This is a test print to the output. 3 time(s) so far&lt;br /&gt;
This is a test print to the output. 4 time(s) so far&lt;br /&gt;
This is a test print to the output. 5 time(s) so far&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Using the output isn&amp;#039;t really that hard.  Once you learn the &amp;lt;code&amp;gt;print&amp;lt;/code&amp;gt; function, you can use the output.&lt;br /&gt;
&lt;br /&gt;
You can also use the output to induce your own errors.  Use this code to induce your own error:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
errMsg = &amp;quot;This is my own error!&amp;quot; &amp;lt;br/&amp;gt;&lt;br /&gt;
error(errMsg, 0)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your output should have red text in it, that says &amp;lt;code&amp;gt;This is my own error!&amp;lt;/code&amp;gt;.&amp;lt;br/&amp;gt;&lt;br /&gt;
The output is a useful tool.  Even Telamon uses the output to solve errors sometimes.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>PRG</name></author>
	</entry>
</feed>