Category "bc"

Does bc not limit a variable's scope?

Define the function in basic calculator bc as define void f () { test=42; print "all done\n"; } I'd have thought the value of test would be limited to the scop

Set output size in bc library

I'm using the bash bc library to perform inter-base conversions. Does anyone know if it is possible to set the output size (number of bits/bytes)? I need his ou