>>This is some kind of character code that positions data onto
>>a FRM file. Does any know how this works? I know you need
>>to setup some kind of an offset for X and Y coordinates.
>
>IMHO, this is a printer code send to printer, If you can remember in days of dos programming, we use to send printer codes through escape character+... to give effects like bold, italics etc.
>
>27 is the ascii code for escape..
hi vinod and thanks for answering....Can you tell me what the below code does?
function xy_offset
parameter nx,ny
private x,y
xoffset=0
yoffset=0
x=str(nx+xoffset)
y=str(ny+yoffset)
?? chr(27)+'*p'+alltrim(x)+'X'
?? chr(27)+'*p'+alltrim(y)+'Y'
return
thanks..rob