stax76
22nd December 2002, 16:16
I'm working on a program where I want to
change filter arguments with controls.
I don't understand when a argument can
be named. The doku says optional arguments
can be named but how do I know a argument
is optional. Would it be possible to
write the doku like this
BicubicResize(clip, int target_width, int target_height, optional float "b" = 1 / 3, optional float "c" = 1 / 3)
this is the Visual Basic way, it tells which parameter is
optional and it's default value
'Dolemite
change filter arguments with controls.
I don't understand when a argument can
be named. The doku says optional arguments
can be named but how do I know a argument
is optional. Would it be possible to
write the doku like this
BicubicResize(clip, int target_width, int target_height, optional float "b" = 1 / 3, optional float "c" = 1 / 3)
this is the Visual Basic way, it tells which parameter is
optional and it's default value
'Dolemite