Re: [Activetcl] wierd char in puts
by Michael Barth other posts by this author
Mar 12 2008 2:42AM messages near this date
view in the new Beta List Site
[Activetcl] wierd char in puts
|
[Activetcl] activetcl 8.5.1, teacup, $HOME/.teapot
Gene Osteen wrote:
> puts -nonewline $sql_file "exec sp_UpdateUpdates '${db}',\13\10"
>
> This produced a line that had hex 0B 08 at the end instead of hex 0D 0A
> like I expected
Your code is alright. The numbers after the backslash are Octals! (cp.
rule [8] in the manual page Tcl)
Michael
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Gene Osteen
Michael Barth
|