🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17844

Re: Method to convert "6p36" to 1.5?

#17844
From: John Shanley
Date: Thu, 08 May 2003 23:39
11 lines
1199 bytes
Ana:

6p36 isn't a very natural expression. It breaks down to 9p0.

Regardless, you need to read the string looking for the "p" separator. Everything to the left multiply by 12, then add it to the value to the right of the "p". Finally divide by 72.

Do you need AS or VB?

Back in 1992 I wrote a DTP measurement converter program called Cubit Meister in VB. If you're using VB, I could try and dig up the code?

JohnS
Technical Details
Message-ID: <1de90e1d.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de90e1d.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,c48e239d65fbe1e5
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-08 17:08:07 PST
From: "John Shanley" <jshanley@phoenix-creative.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Method to convert "6p36" to 1.5?
Message-ID: <1de90e1d.0@WebX.la2eafNXanI>
Date: Thu, 8 May 2003 16:39:08 -0700
References: <1de90e1d.-1@WebX.la2eafNXanI>
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit