stupid question :/
Heyy, i recently purchased the sumobot competition kit.
I am generally good with computers, but i have never done any programming. i was just wondering if you have to type in all the commands in the stamp editor maually, or just the values. such as: '
[noparse][[/noparse] I/O Definitions ]
idk how many dashes your supposed to type, but that can be very tedious. I'm sure im missing something/
any help would be greatly appreciated :]
I am generally good with computers, but i have never done any programming. i was just wondering if you have to type in all the commands in the stamp editor maually, or just the values. such as: '
[noparse][[/noparse] I/O Definitions ]
idk how many dashes your supposed to type, but that can be very tedious. I'm sure im missing something/
any help would be greatly appreciated :]
Comments
' {$STAMP BS2}
' {$PBASIC 2.5}
Anything with a ' before it is a comment.
Comments aren't required but help make the code easier to follow and make debugging
less of a hassle.
or do i have to tediously place them all in manually?
Anything in a comment is not required for the code to function.
Its completely ignored by the code in fact...
So you could change
'
[noparse][[/noparse] I/O Definitions ]
into:
'-[noparse][[/noparse]I/O Definitions]-
if you wanted to.
Or you can leave it out completely... although I don't recommend it because
then you'll have problems trying to figure out what the heck that code is
down the road.
so its basically a seperator for viewing purposes only, so everythings not just one long thing of code.
thank you very much :]