of     2   
chevron_rightchevron_rightchevron_right

DXPower
#60227053Monday, December 26, 2011 12:52 AM GMT

What it would do: It would take the current proccess to any line, also having the ability to share variables without having to make arguments. How it would be used: GOSUB, 122 It would take the script to line 122, skipping any lines between the current line and the requested line. Why it is useful: You would be able to go to certain lines, any line, skipping other lines, and sharing variables with no arguments. It would remove the hassle of calling other functions, making the functions, sharing the arguments and all that. The one bad thing: Lines increase as you make the script. You may add another line above it or delete one above it. In order to get around it: The script will automatically detect if a line above has been added or deleted changing the GOSUB line automatcially. Why it is capitalized: You know how languages are borrowed from other languages right? Like English is borrowed from Spanish, French, Italian, Greek etc.... Well, I borrowed this from PBASIC 2.5. I edited how it is used a bit, but over-all a form of PBASIC 2.5. It would be a very good update. Q & A: Will I have to capitalize it every time: No, it will do it automatically. How do I share variables? It does it automatically. Can I go UP a line AND down a line? Yes. Why would it be borrowed form PBASIC 2.5? Well, PBASIC 2.5 is a very good language, in my opinnion. It is used in phones, some computers, mouses, calculators etc..
DXPower
#60229772Monday, December 26, 2011 1:48 AM GMT

Bump.
luigiyoshi6411
#60229930Monday, December 26, 2011 1:51 AM GMT

Good idea, that could be an easier way to have a multi-outcome script.
theopfor
#60230042Monday, December 26, 2011 1:53 AM GMT

Why not use a goto C++ function? I understand you can't use it in Lua, but something like that, would be more ideal. Instead of messing with line numbers, you could use a word, then a colon afterwards. It would fix the flaw you pointed out.
DXPower
#60230224Monday, December 26, 2011 1:56 AM GMT

I pointed out how to fix the problem.. But, good update none the less.
nights192
#60230887Monday, December 26, 2011 2:09 AM GMT

Spaghetti programming should be looked down upon. I suggest using functions instead.
stevenqazwsxedc
#60231056Monday, December 26, 2011 2:12 AM GMT

[ Content Deleted ]
DXPower
#60263220Monday, December 26, 2011 5:41 PM GMT

Bump!
crazypotato4
#60263529Monday, December 26, 2011 5:46 PM GMT

No. Learn to use proper flow control.
rampage29
#60264234Monday, December 26, 2011 5:56 PM GMT

ok ok erm... sorry but you have fail your test
ClassyMark
#60264467Monday, December 26, 2011 6:00 PM GMT

Well I'm no genius scripter but this sounds great ᴄᴌаѕѕўӎдяќ
DXPower
#60271229Monday, December 26, 2011 8:00 PM GMT

Bump.
DXPower
#60330259Tuesday, December 27, 2011 5:32 PM GMT

Another bump...
nobcaik1940
#60330541Tuesday, December 27, 2011 5:37 PM GMT

I don't know about this, you mean roblox Lua or Lua?
DXPower
#60335636Tuesday, December 27, 2011 6:58 PM GMT

I am talking about adding a NEW command, that is slightly edited from PBASIC 2.5, and putting it in rblx.Lua (ROLOX Lua). Saving the world, one rainbow barf at a time.
DXPower
#62029238Friday, January 27, 2012 1:47 AM GMT

Bump, a few more supports and I'll make a V.2! With a Five-Guys burger in my hands, I am now invincible!
XAXA
#62029338Friday, January 27, 2012 1:48 AM GMT

Omnomnom I love spaghetti. I'd rather use a separate script, maybe even functions to make a script more organized. "You can't debug a script you wrote with the best of your ability. Therefore never try your best when you're writing a script."
Fauxtillion
#62029474Friday, January 27, 2012 1:50 AM GMT

they can't add to lua.
DXPower
#62035658Friday, January 27, 2012 4:01 AM GMT

They can add to ROBLOX Lua, you notice they just added :Destroy() So, facebookrobloxcool, you are wrong, they can add to rblx.Lua, just not Lua itself. With a Five-Guys burger in my hands, I am now invincible!
DerProgrammierer
#62037862Friday, January 27, 2012 5:25 AM GMT

"they can't add to lua." Lua is interpreted, so if you make an interpreter and change things, you can in fact, change Lua. ~Ohne dich bin ich nichts~
crazytomato4
#62038056Friday, January 27, 2012 5:35 AM GMT

But that doesn't mean that you should. This would be a useless addition to Lua, and it would discourage use of good flow control techniques like functions, loops, and if statements. Plus, why would you want to add new things like this to Lua? Adding APIs and libraries, yes. Changing the language itself, no.
DerProgrammierer
#62038372Friday, January 27, 2012 5:55 AM GMT

I never said it was a good idea, or anyone should do it. I'm just educating. ~Ohne dich bin ich nichts~
RobloxInstructive
#62038618Friday, January 27, 2012 6:09 AM GMT

Just use functions, they work just fine.
javiman2
#62038679Friday, January 27, 2012 6:12 AM GMT

Support sounds useful. ~Hammer Time
DXPower
#62149931Sunday, January 29, 2012 5:15 PM GMT

I KNOW you can use functions, this is to go to a very SPECIFIC line, not a specific function.

    of     2   
chevron_rightchevron_rightchevron_right