Documentation

A few useful options

It is now time to explain some programming conventions:

1°) A sharp character # at the beginning of a line will not affect the execution of the script.
For instance, the line :

Pause 20

will pause the execution of your script during 20 seconds.
And the following script line will have the same result :

#Pause 20

2°) You can use only one instruction or command on the same line. For instance, if you use the following line in a script :

Print "wait a little" Pause 20

An error message will be returned.
The two lines below will not return any error messages :

Print "wait a little"
Pause 20


3°) Everything on a line that is after a double slash // is ignored. They are only
comments that have been put into the script to make it more understandable and readable by humans. For instance, the line :

Pause 20 // wait 20 seconds

makes TVPaint Animation wait during 20 seconds.
However, the line :

// Pause 20

will not pause the execution of your script.

TVP Animation sees no difference between uppercase and lowercase letters. For instance, TV_layercreate, tV_LaYeRcReAtE, tv_LAYERCREATE are all exactly the same command.