of     2   
chevron_rightchevron_rightchevron_right

SmurfMike
#44597169Saturday, March 26, 2011 3:27 AM GMT

Hey ingot a book about lua called Beginning Lua Programming I was wondering if this would be a good book ton understand lua, thing I'm worried about is, is their a difference between lua and lua.rblx ?
Phascinate
#44597387Saturday, March 26, 2011 3:31 AM GMT

Lua.RBLX just has added functions and easability.
Phascinate
#44597471Saturday, March 26, 2011 3:32 AM GMT

In other words, you'll learn a lot, but it would be good to go over the ROBLOX wiki, as well.
SmurfMike
#44597606Saturday, March 26, 2011 3:35 AM GMT

Oh ok then I guess this means I can get started and read meh book thanks :D
SpysSappinmaPatience
#44598297Saturday, March 26, 2011 3:48 AM GMT

ROBLOX's version of Lua is modified to comply with their game engine and interface. Regular Lua is the raw language and serves very little purpose without an application to work with.
SmurfMike
#44599894Saturday, March 26, 2011 4:15 AM GMT

So it's just tweaked other than that it's the same?
adark
#44600138Saturday, March 26, 2011 4:20 AM GMT

Yeah, the added functions are the stuffs that directly modify something in the game area, like Instance.new(whatever) and (for tools) MouseButton1Down. (I may be mistaked about some of them, but I'm pretty positive about these.)
Alley_Cat
#44606911Saturday, March 26, 2011 9:30 AM GMT

What's the name of the book? I'd like to know. I have another book, but I'm trying to get a smany as I can. P:
Alley_Cat
#44606921Saturday, March 26, 2011 9:30 AM GMT

Wow fail, I just re read the first poast. Sorry. I thoughtyo usaid about, not called. X_x
SmurfMike
#44642619Saturday, March 26, 2011 10:01 PM GMT

Yea those are right, I'm learning about Variables :D >print([[1+1]]) -- you can put [[ or not 2 also like; a = 2 A = 2 print(a+A) 4 so far I got the hang of it, thats just some simple stuff ive learned i love the book and I'm already on compound statments :D
Muddy101
#44643128Saturday, March 26, 2011 10:09 PM GMT

Oh YEAH? Well I got Beggining PROGRAMMING book! :3! I'm probably gonna start learning Java or something soon. :3
Emess
#44643220Saturday, March 26, 2011 10:11 PM GMT

Don't worry. Roblox Lua (RBX.Lua) is a version of Lua with several added/removed functions, etc.. You might learn that in your book.
Muddy101
#44643240Saturday, March 26, 2011 10:11 PM GMT

And, you print like this: print("Hello world.") --Notice the ""s. Just thought you should know. ;)
ScriptMasterMatt
#44643501Saturday, March 26, 2011 10:15 PM GMT

Just letting you know, I've read that book. And for absolute beginners to programming and scripting. It will be very difficult to learn. That being if you have no experience with any bit of coding.
roservers
#44643838Saturday, March 26, 2011 10:20 PM GMT

I have like a billion programming books. I have one on JavaScript, Java, C#, HTML, 2 on Objective-C, and one on hacking ;O
ScriptMasterMatt
#44644025Saturday, March 26, 2011 10:23 PM GMT

VB = "hacking"
roservers
#44644079Saturday, March 26, 2011 10:24 PM GMT

hacking as in some C, some Assembly, some Perl. In like, the second chapter they're teaching how to hack with buffer overflows and ish confusing...
SmurfMike
#44644284Saturday, March 26, 2011 10:28 PM GMT

Their are actually 3 ways you can do >print([[WORD]]) word >print('word') word and >print("word") word they all have the same affect, I like it the traditional "Hello World" sort of way I find it the best but you can choose which ever one you want :)
SmurfMike
#44644454Saturday, March 26, 2011 10:30 PM GMT

I know a bit of C++ and C, in the book it said it would be a good idea to learn that so i finished C for dummies :P since Lua is written in plain C I think that might help me, so im not a noob to the coding world... just to the Lua world xD
roservers
#44644889Saturday, March 26, 2011 10:37 PM GMT

Did it include you can also say print "hello"
SmurfMike
#44645029Saturday, March 26, 2011 10:39 PM GMT

for the lua book no ._. it only said those 3.
adark
#44645331Saturday, March 26, 2011 10:45 PM GMT

Just thought it should be known that the default text in a script made via Insert>Object>Script was changed from "print("Hello World!")" to "print 'Hello World!'" and it sitll functions properly.
SmurfMike
#44645532Saturday, March 26, 2011 10:48 PM GMT

I dont think that would work either way because I dont know or not but doesnt it need parnthesis
roservers
#44645691Saturday, March 26, 2011 10:51 PM GMT

You'll probably never need to know this but... Functions don't have to have parenthesis IF: the function has one argument and the one argument you fill in is a string or a table (as in {}, not a variable). For instance: print "hi" -- valid print 5 --not valid print {"hello","world"} --valid print somevariable --not valid
SmurfMike
#44646006Saturday, March 26, 2011 10:57 PM GMT

I probs wont use it just for the facts their are easier ones to use xD

    of     2   
chevron_rightchevron_rightchevron_right