Since Pike does not support default parameter values, I use this workaround:
```pike
int typed_number(string|void prompt) {
if (!stringp(prompt)) {
prompt = "";
}
// (…)
}
```
Is there a better approach?
--
Marcos Cruz
http://programandala.net
