generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Post different kinds of output / Helping with scripts

Previous Thread :: Next Thread 
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
24 Aug 2011 08:05 PM
Post your output along with a script, and I'll post the meaning of the output as well as fix your script.

It will appear like this:
Your name
Your output
Meaning of output
Fixed script

I will then record the output for future usage.


- Canadian Idiot -
Report Abuse
TrollHappy is not online. TrollHappy
Joined: 05 Nov 2010
Total Posts: 112
24 Aug 2011 08:06 PM
print(*)
Report Abuse
harryvince2000 is not online. harryvince2000
Joined: 22 Jun 2008
Total Posts: 4324
24 Aug 2011 08:08 PM
TheTable = { hi, 2, 7, bob, 1, 97 = "bananas" }
for i,v in ipairs(TheTable) do
print (i,v)
end


Then output says
Workspace.Script:1: '}' expected near '='
Report Abuse
harryvince2000 is not online. harryvince2000
Joined: 22 Jun 2008
Total Posts: 4324
24 Aug 2011 08:10 PM
u gonna help?
Report Abuse
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
24 Aug 2011 08:11 PM
@TrollHappy
Output: Workspace.ScriptLocation:Line: unexpected symbol near '*'
Your name: Trollhappy
Output meaning: You cannot directly print that character. You must enclose it in quotes, or use it in some other method that would work.
Suggested: print("*")

- Canadian Idiot -
Report Abuse
L2000 is not online. L2000
Joined: 03 Apr 2008
Total Posts: 77448
24 Aug 2011 08:14 PM
@Harry
Output: Workspace.Script:1: '}' expected near '='
Meaning: You cannot assign a variable a value within a table.
You will also need to set string values inside quotes; otherwise, it will print nil.
Fixed:
TheTable = { "hi", 2, 7, "bob", 1,"bananas" }
97 = "bananas"
for i,v in ipairs(TheTable) do
print (i,v)
end


Then output says
Workspace.Script:1: '}' expected near '='

- Canadian Idiot -
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image