Shuttleu
2010-08-31 17:22:29
just like the title says
so for example,
you can have a TBox constant
or a TPoint constant
~shut
so for example,
you can have a TBox constant
or a TPoint constant
~shut
2010-08-31 17:22:29
2010-09-01 15:50:29
2010-09-01 15:55:06
2010-09-01 16:42:17
const
MyBox = 123, 123, 345, 345;
MyPoint = 24, 52;2010-09-01 16:49:42
2010-09-01 16:51:20
2010-09-01 17:26:50
From: Blumblebee
difference from
MMx1
MMy1
MMx2
MMy2
?
aside from saving 4 lines.
const
MyBox = 12, 34, 43, 56;
MeIsInBox(MyBox);is easier and faster to type and easier to understand than
const
MyBoxX1 = 12;
MyBoxY1 = 34;
MyBoxX2 = 43;
MyBoxY2 = 56;
MeIsInBox(IntToBox(MyBoxX1, MyBoxY1, MyBoxX2, MyBoxY2);2010-09-01 18:03:08
2010-09-02 13:35:43
2010-09-02 15:37:59
From: nielsie95
Pascal can do this too, but the interpreter doesn't support it. I believe Sepi does, though.
2010-09-02 16:30:59
2010-09-03 02:04:39
From: nielsie95
It's highly unlikely that we will port Sepi to FPC, so don't count on it :(
2010-09-03 04:15:37