Hi mp gurus,

i'm thinking about adding the next to metafun:

let  normalscaled =  scaled ;
let normalxscaled = xscaled ;
let normalyscaled = yscaled ;

def  scaled expr s =  normalscaled (s) enddef ;
def xscaled expr s = normalxscaled (s) enddef ;
def yscaled expr s = normalyscaled (s) enddef ;

this can handle both

draw fullcircle scaled 10 ;
draw fullcircle scaled 10*5 ;

how dangerous is such a redefinition? Why is scaled so fragile anyway?

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to