Henrik Grubbström escribió/skribis/wrote/scrit (2025-03-20T19:59:55+0100):

> In Pike 9.0 (currently in beta) the following syntax is supported:
> 
> ```pike
> int typed_number(string prompt = "") {
>    // (…)
> }
> ```

Great.  That will make things simpler.

The other day I compiled and installed 8.0.1956 on Debian 12.10 (which
includes only 8.0.1738). I have downloaded 9.0.9 to try it soon.

>    prompt = prompt || "";

Meanwhile, that's better than checking with `stringp`.

Thanks.


-- 
Marcos Cruz
http://programandala.net

Reply via email to