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 » Scripters
Home Search
 

Re: Can you manually make folders in code

Previous Thread :: Next Thread 
Raildex is not online. Raildex
Joined: 06 Dec 2009
Total Posts: 934
05 Apr 2016 11:16 AM
What i mean by this is create a way to fold completed code up like how it lets you close up if statements or functions
Report Abuse
Cuyler is not online. Cuyler
Joined: 27 Feb 2006
Total Posts: 3784
05 Apr 2016 11:29 AM
do --//New scope is created
--//Code that can be folded is here
end --//Scope ends


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
05 Apr 2016 11:31 AM
I still don't understand what you mean


Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
05 Apr 2016 11:34 AM
Yeah, press this little arrow things by the side of your code: https://gyazo.com/91fd5ac7b7ed17371acecbd464362539


Report Abuse
Cuyler is not online. Cuyler
Joined: 27 Feb 2006
Total Posts: 3784
05 Apr 2016 11:35 AM
I think he was asking for a way to add new scopes without defining a function. Either that or he just wanted to know how to hide them.


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
05 Apr 2016 11:36 AM
@Curley. I new to this entire "do something end" thing.

Whats the difference between

while something do end

and just

do something end


???


Report Abuse
Raildex is not online. Raildex
Joined: 06 Dec 2009
Total Posts: 934
05 Apr 2016 11:37 AM
what Cuyler said^ I want to keep my code more organized
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
05 Apr 2016 11:37 AM
"do [code] end" makes a block

everything else is just an extension of that with extra functionality
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
05 Apr 2016 12:39 PM
Why not just indent it? This is often what I do when declaring lots of variables: https://gyazo.com/95d3a9541dc8eea0d08e86249113df2b


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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