由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - [转载] Re: Tcl question
相关主题
who call tell the answer of this simple question?sort vectors
in expect, to send some character...Python里二进制,八进制,和十六进制数的用法
help: how to know the pid of prog started by rshQuick question: BaoZis are rewared.
Question on Tcl/Tk !quick questin: 该带礼物吗?
Help on get an integer from a date stringquick questin: 交接要多久?
[转载] TCL/TK to move mouseRe: ask a questin about car insurance
问一个shell script的问题questionable是不是50%可能
请问一下,用什么语言/库/脚本作GUI比较方便?a questin about apache
相关话题的讨论汇总
话题: tcl话题: octal话题: question话题: 0010话题: vector
进入Unix版参与讨论
1 (共1页)
c**v
发帖数: 103
1
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: cctv (No Perfect Solution), 信区: Programming
标 题: Re: Tcl question
发信站: Unknown Space - 未名空间 (Mon Jan 5 21:34:48 2004) WWW-POST
How come Tcl's scan supports Octal but not binary? Or maybe I didn't make my
questin clear.
The following script will convert 0010 (in Octal) to 8 (in decimal)
% set vector 0010
% scan $vector %o value
>1
% puts $value
>8
Is there simple way to convert vector (like 0101) to decimal (5)?
1 (共1页)
进入Unix版参与讨论
相关主题
a questin about apacheHelp on get an integer from a date string
a questin about Markov Chain[转载] TCL/TK to move mouse
TCL问一个shell script的问题
TCL + Apple请问一下,用什么语言/库/脚本作GUI比较方便?
who call tell the answer of this simple question?sort vectors
in expect, to send some character...Python里二进制,八进制,和十六进制数的用法
help: how to know the pid of prog started by rshQuick question: BaoZis are rewared.
Question on Tcl/Tk !quick questin: 该带礼物吗?
相关话题的讨论汇总
话题: tcl话题: octal话题: question话题: 0010话题: vector