brary in NSBasic:

<pre>
Dim s As String
Dim n As Integer
s = Cnv.DecToBase(37, 16)     's will be 37 in base 16
n = Cnv.BaseToDec("177", 8)   'n will be the value of 177 in octal
s = Cnv.DecToBase(42, 10)     'Works like Str for positive integers
</pre>

When the input is out of range, DecToBase will return a blank string,
and BaseToDec will return -1.

<p>There is one more design decision that, strictly speaking, does not 
need to be made now, but we need to be aware of it.  A shared library