ss1122
|
  |
| Joined: 16 Dec 2008 |
| Total Posts: 1601 |
|
| |
|
|
| 28 Aug 2011 06:32 AM |
Long time no see, ss.
I wasn't aware you could use RunService to do that, so I can't judge. |
|
|
| Report Abuse |
|
|
| |
|
ss1122
|
  |
| Joined: 16 Dec 2008 |
| Total Posts: 1601 |
|
| |
|
ss1122
|
  |
| Joined: 16 Dec 2008 |
| Total Posts: 1601 |
|
| |
|
|
| 29 Aug 2011 06:51 AM |
Recursivitivity :D
function x() --Do stuff x(wait()) end x() |
|
|
| Report Abuse |
|
|
ss1122
|
  |
| Joined: 16 Dec 2008 |
| Total Posts: 1601 |
|
| |
|
| |
|
ss1122
|
  |
| Joined: 16 Dec 2008 |
| Total Posts: 1601 |
|
| |
|
ss1122
|
  |
| Joined: 16 Dec 2008 |
| Total Posts: 1601 |
|
| |
|
xCyriak
|
  |
| Joined: 09 Jun 2011 |
| Total Posts: 52 |
|
|
| 29 Aug 2011 07:11 AM |
repeat wait() until false while wait() do end function d() d(wait()) end d() for i = 1, math.huge do wait() end
List more ((ACTUALLY) different) ways to do the same thing. |
|
|
| Report Abuse |
|
|
xCyriak
|
  |
| Joined: 09 Jun 2011 |
| Total Posts: 52 |
|
|
| 29 Aug 2011 07:13 AM |
> > > Stack error. > > > > Errrrr, no. > > Never mind then. > Just think it's inefficient.
Redundant doesn't mean inefficient. It just means you have something wrong with you.
a = 1 a = a
There are thirty nine letters in this sentence. |
|
|
| Report Abuse |
|
|
|
| 29 Aug 2011 07:13 AM |
> > > Stack error. > > > > Errrrr, no. > > Never mind then. > Just think it's inefficient.
No, it's the same. No less inefficient and no more inefficient. If anything it's more efficient because there's no comparing, whereas while compares true to true every execution. |
|
|
| Report Abuse |
|
|
ss1122
|
  |
| Joined: 16 Dec 2008 |
| Total Posts: 1601 |
|
| |
|
|
| 29 Aug 2011 08:21 AM |
> > > > > Stack error. > > > > > > > > Errrrr, no. > > > > > > Never mind then. > > > Just think it's inefficient. > > > > No, it's the same. No less inefficient and no more inefficient. If anything it's more efficient because there's no comparing, whereas while compares true to true every execution. > > Cool story bro. > Ok, sorry, I was mistaken. In some other languages it gives a stack error.
Wait I think it does actually. Not certain.
But if it didn't, it would be more efficient. |
|
|
| Report Abuse |
|
|
ss1122
|
  |
| Joined: 16 Dec 2008 |
| Total Posts: 1601 |
|
| |
|