|
Hi Bill, I have attached a function DIN which computes the European paper sizes for the different DIN series (A, B, C, and D) and their scaled variants like A4, C5, etc. Regarding the issues below, I cannot reproduce them because running them seems to require some .csv file which I do not have. However after double-checking Bif_OPER1_EACH::eval_ALB() at the point of the failed assertions, it looks to me like you may have missed the bug fix that I committed on Aug. 25, 2018 (SVN 1070). So could you please (1) check if your GNU APL is up to date, and (2) if the error persists, provide a simpler way to reproduce the fault? According to the assertion, what happens is that a simple scalar is being enclosed (either explicitly by ⊂, but more likely implicitly by the EACH operator). It would be useful to have the operands of the failed EACH operator in order to reproduce the fault. Best Regards, /// Jürgen Sauerman On 10/08/2018 06:01 PM, Bill Daly
wrote:
Hello Jürgen |
âZâA DIN B;H0;Area;Series;Scale ââ return the heigth and the width of a DIN paper size â â A: the result unit desired: â 1: return sizes in mm â 2: return sizes in inches (1 inch = 25.4mm) â 3: return sizes in points (1 inch = 72 points) â â B: the DIN series and scale, e.g. 'A4' for DIN A4 sheets â â Example: 1 DIN 'A4' returns 297.3017788 210.2241038, which is normally â rounded to full millimeters: 297÷210 mm² â â The DIN A series is recursively defined by: â â 1. the area, i.e. heightÃwidth of DIN A0, B0, C0, and D0 sheets â are 2â0, 2â0.5, 2â0.25 and 2â¯0.25 respectively. â â 2. all formats of a series have the same aspect ratio width÷height. â â 3. height(An+1) = width(An) ÷ 2 â â that is cutting (or folding) an An sheet at the middle of the longer side â gives two An+1 sheets. â â Combining 2. and 3. gives an aspect ratio of 2â÷2 = 1.41 â â According to: DIN 476, EN ISO 216 â (Series Scale)âB â split e.g. 'A4' into Series 'A' and Scale '4' Areaâ2â(â(-/âUCS Series,'A')â0 2 1 ¯1)÷4 â area of A0, B0, C0, or D0 in m² â (Series,'0 area:') Area 'm²' H0â(AreaÃ2â÷2)â÷2 â height of an A0, B0, C0, or D0 sheet in m â (Series,'0 height:') H0 'm' ZâH0÷2â(-/âUCS Scale,'0')÷2 â height of an An, Bn, Cn, or Dn sheet in mm ZâZÃâAâ0 1000, 10000 720000÷254 â size in mm, inch, and points ZâZ,Z÷2â÷2 â height â height, width â
1 DIN 'A4' 2 DIN 'A4' 3 DIN 'A4' 1 DIN 'A0' 1 DIN 'B2' 1 DIN 'C5' 1 DIN 'D3' )OFF
