| TUdataNoOctal | TCL UTILITIES USER MANUAL | TUdataNoOctal |
|---|
| set |
[TUdataNoOctal  |
|
| V | - | integer numerical string |
| X | - | Optional value to return if input string has a final 0 length. Default is 0. |
| rV | - | The converted value |
# EXAMPLES of TUdataNoOctal usage
set A 0123
set A [TUdataNoOctal $A ]
set B 00
set B [TUdataNoOctal $B ]
set C 00
set C [TUdataNoOctal $C 0.0 ]
set D 01230
set D [TUdataNoOctal $D ]
# PRINT results
puts stderr "Input 0123 : Output $A"
puts stderr "Input 00 : Output $B"
puts stderr "Input 00 : Output $C"
puts stderr "Input 01230 : Output $D"
> Input 0123 : Output 123
> Input 00 : Output 0
> Input 00 : Output 0.0
> Input 01230 : Output 1230
| Sept 19, 2006 |
|---|