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
 

does

Previous Thread :: Next Thread 
meteorit210 is not online. meteorit210
Joined: 08 Sep 2010
Total Posts: 348
21 Oct 2011 08:12 PM
while true do end = repeat until false
Report Abuse
dslink2009 is not online. dslink2009
Joined: 05 Jul 2010
Total Posts: 1108
21 Oct 2011 08:12 PM
I don't understand your question...
Report Abuse
MrNicNac is not online. MrNicNac
Joined: 29 Aug 2008
Total Posts: 26567
21 Oct 2011 08:13 PM
No.

The difference is that a repeat loop will go through once before checking if the condition is met. A while loop will check the condition first.

Also, 'repeat until false' will run once and stop. As 'while true do end' will constantly run with no end.
Report Abuse
meteorit210 is not online. meteorit210
Joined: 08 Sep 2010
Total Posts: 348
21 Oct 2011 08:15 PM
By that I was asking does repeat until false do an infinite loop like while true do end
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
21 Oct 2011 08:18 PM
For the exact code, yes.
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
21 Oct 2011 08:22 PM
while true do
--stuff
end

is **NOT** the same as

repeat
--stuff
until false


However, the while true do loop is the same as

repeat
--stuff
until true


Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
21 Oct 2011 08:23 PM
Wait... I failed... they are the same.

*facedesk*
Report Abuse
hillow25 is not online. hillow25
Joined: 20 Jan 2009
Total Posts: 125
21 Oct 2011 09:24 PM
Derp.. -facedesk-


Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
21 Oct 2011 09:30 PM
Herp -facedesk-
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