[Gs-devel] Re: [Gs-cvs] cvs: raph
Ray Johnston
ray at artifex.com
Mon Apr 9 00:04:43 PDT 2001
Raph,
I am really rusty in Tcl, but the approach I was thinking of was:
diff -c -r1.7 makeset.tcl
*** makeset.tcl 2001/03/28 21:24:00 1.7
--- makeset.tcl 2001/04/09 07:02:51
***************
*** 52,58 ****
global Num3 Dot Dir
set Num3 $num3
! set Dot [expr ${Num3} / 100].[expr ${Num3} % 100]
# Set other, derived globals.
set Dir gs$Dot
--- 52,58 ----
global Num3 Dot Dir
set Num3 $num3
! set Dot [ format "%.2f" [ expr ${Num3} / 100] ]
# Set other, derived globals.
set Dir gs$Dot
==============
I notice that you define 'major' and 'minor' that don't seem to be
referenced.
No biggee -- whatever works.
Regards,
Ray
===================================================================
ghostscript cvs wrote:
>
> CVSROOT: /cvsroot/ghostscript
> Module name: gs
> Changes by: raph 2001/04/09 06:57:24
>
> Modified files:
> toolbin : makeset.tcl
>
> Log message:
> Changes makeset.tcl to always use two digits for minor number, eg 7.00.
>
> _______________________________________________
> Gs-cvs mailing list
> Gs-cvs at ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/gs-cvs
More information about the gs-devel
mailing list