The Programming Thread

As long as you have previous programming experience and a knowledge of logic, you’ll only need to know the syntax.
if statements:

if condition then
     print( true )
end

Conditionals:
== (equal to)
not (the reverse of this statement)
and (is this statement and this statement true)
!= (not equal to)
Then the standard more than, less than etc

Tables/Objects/Arrays:

table = {
     key = "value",
}

Variable aren’t type specific:

local var = 0 -- Private variable
var2 = 0 -- Public variable

Objects:

object:Method()
object.Variable

Comments:

-- Single line comment
--[[ Multi-line comment ]]

That’s about it really.

Edit: Oops, forgot loops

for i=1, 10 do
     print( i ) -- Do stuff a certain amount of times
end

while true do -- true = condition
     print( "hello" )
     break -- Stop a loop
end

for k,v in pairs( table ) do -- For each item in a table
     print( k, v )
end
1 Like

That’s… it? :neutral_face:

I will probably still read a bit more about it tough. I assume that the syntax of the Arcade API will be something similar to the one that graphics engines use.

Technically, it’s all programming related.

Yeah, but we were discussing pretty much Scriptfodder economics rather than programming, which is why I thought we were going off-topic.

I honestly don’t see the difference between doing jobs on scriptfodder and doing jobs on a site like http://guru.com/. Your getting paid to code something for someone in whatever language it is, as if it was an actual job.

Judging by the appearance, Guru looks to be a more professional and respectable site.

<img src=

>

send help