[m-users.] getopt_io return value type on success?

Sean Charles (emacstheviking) objitsu at gmail.com
Sun Apr 25 06:34:44 AEST 2021


Bingo!

The penny has dropped, I looked at the align_right.m sample (useful code to read) and saw how to parameterise the type.

Thanks Zoltan!

It’s the journey not the destination.
Getting there one day would be nice.  :)

> On 24 Apr 2021, at 21:26, Zoltan Somogyi <zoltan.somogyi at runbox.com> wrote:
> 
> 
> 
> On Sat, 24 Apr 2021 20:56:56 +0100, "Sean Charles (emacstheviking)" <objitsu at gmail.com> wrote:
>> But I don’t know what type to make `Options`.
> 
> That type should have one alternative for each of the options
> of your program.
> 
> There are several examples of how to use getopt
> in the extras directory. Have a look at them.
> 
> Zoltan.
> 
> 



More information about the users mailing list