Author Topic: MoreErros.  (Read 2304 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
MoreErros.
« on: July 07, 2012, 01:17:54 PM »
Deleted
« Last Edit: May 07, 2015, 11:12:59 AM by Peter »

Charles Pegge

  • Guest
Re: MoreErros.
« Reply #1 on: July 08, 2012, 12:48:40 AM »
Hi Peter,

It should pass all these tests

Code: [Select]

type rect long x,y,w,h

float a=1.2,b=1.4,c=1.6,d=1.8

'rect r : r<=a,b,c,d
rect r<=(1.2,1.4,1.6,1.8)
'rect r={a,b,c,d}

'r.x=a : r.y=b : : r.w=c : r.h=d

print r.x "  " r.y "  " r.w "  " r.h 'result 1,1,2,2


Charles