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
 

Table help

Previous Thread :: Next Thread 
4444vince2 is not online. 4444vince2
Joined: 08 Nov 2008
Total Posts: 4880
09 Aug 2014 05:22 AM
TABLE = {hi1,hi2,hi3}
print(table.concat (TABLE, ',')..' :TEST')

--This should print this:
hi1,hi2,hi3
--How would I make it print this:
{hi1,hi2,hi3}
Report Abuse
AnonyAnonymous is not online. AnonyAnonymous
Joined: 23 Jun 2013
Total Posts: 6332
09 Aug 2014 05:28 AM
Do you mean something such as this?,
TABLE = {"hi1","hi2","hi3"}
print("{"..table.concat(TABLE, ',').."}"..':TEST')
Report Abuse
4444vince2 is not online. 4444vince2
Joined: 08 Nov 2008
Total Posts: 4880
09 Aug 2014 05:31 AM
No cause i'm using it for something else.
Not print'{ }'
I need the output to be {} without using a simple"{" needs to be in the code.
Report Abuse
4444vince2 is not online. 4444vince2
Joined: 08 Nov 2008
Total Posts: 4880
09 Aug 2014 05:32 AM
Found another way to do it thanks anyways.
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