Hey all, i'm a huge newbie at this and all of my lua programming knowledge is from computercraft, and very little knowledge at that. I am messing around with OC and am trying to make a program that displays the used space of the hard drive(s) that the computer(server in this case) is connected to for learning purposes, what i typed was.
space = spaceUsed():number
print ("Your used space in bytes is:", space)
and it gives me
/usedspace:2: function argument expected near 'print'
when i try to run it. Im not sure if what im doing wrong, or even if that is valid lua.