📝 update syntax for optional parameters
This commit is contained in:
parent
ec6ca08d18
commit
3b96c7e89c
@ -168,7 +168,7 @@ pxl|pixel|canv|canvas draw
|
||||
|
||||
# the command scope "mycommand1" starts here
|
||||
# argument $1 is readonly; $2 is read/write; $3 and $4 are optional and will default to `null`
|
||||
def mycommand1 $1 &$2 ($3 $4)
|
||||
def mycommand1 $1 &$2 $3? $4?
|
||||
|
||||
# current command scope ends here
|
||||
end
|
||||
|
Reference in New Issue
Block a user