Hi Plinio,
I'm not getting any error message. It's the result of the command that's unusual.
For example - working from the command windown with Screen.FontName = "Courier New":
@0,0 Say "0123456789" will write that 10 character string to the top-left corner of the screen.
You would image that, in order to clear the first 3 characters, you would type
@0,0 Clear to 0,2, wouldn't you? What you have to enter is
@0,0 Clear to 1,3.
Regards,
Liam
>I don't see any problem, what error message are you getting?
>>Hi All,
>>
>>I haven't used the
@ clear or
@ say commmands for a few years but I had occasion to use them today. Perhaps this is an old one or has been reported before but I haven't seen it mentioned.
>>
>>Version : VFP8 (Haven't tested on any other version)
>>Command :
@ x1,y1 Clear To x2,y2>>Problem : The co-ordinates x1,y1 are zero-based, the x2,y2 co-ordinates are 1-based
>>
>>The same problem applies to
@ x1,y1 Fill To x2,y2. However,
@ x1,y1 To x2,y2 Scroll seems to be fine.
>>
>>Is there a reason for this or is this a bug?
>>
>>Regards,
>>
>>Liam
Liam O'Hagan
MCP VFP Desktop Apps