Am 28.01.2017 um 19:29 schrieb Riccardo (Jack) Lucchetti:
On Sat, 28 Jan 2017, Allin Cottrell wrote:
>
> Slightly less baroque:
>
> <hansl>
> function scalar ompthds(void)
> scalar ret
> outfile s --buffer --quiet
> set omp_num_threads
> outfile --close
> sscanf(strstr(s, ",") + 1, "%*s %d", ret)
> return ret
> end function
> </hansl>
Well, I had thought of something like that too, but couldn't be bothered
to check all the po files if that would be robust to translations, so I
just assumed the number would come last.
Why not have a $set accessor bundle with all the current settings?
thanks,
sven