Hi,
quoting from [1]:
init blocks do not have any parameters. A construct block is
used to define a creation method which requires parameters.
You need to use new PoppleSample(), without parameters. If you need to
pass some parameters, then you need to define a construct block.
Hi,
Thank you it's works !
I simply add this:
sample.PopplerSample(args[1])
Thanks again,
Nicolas.
Hi,
quoting from [1]:
init blocks do not have any parameters. A construct block is
used to define a creation method which requires parameters.
You need to use new