>hi there
>i tryin to get the next thing
>i go a table that i need to scan (scan.. endscan)
>i have a line (initial width = 1) to increment the line.with WHILE the scan its running
>the line MUST end in the line.width = 200
>how can i do to get that the line with ENDS in 200 EXACTLY when the scan ENDS to run?
>
Hola Augusto,
Try something like this:
LOCAL nIncrement, nLineWidth
nIncrement = RECCOUNT("myTable")/200
nLineWidth = 0
USE myTable
SCAN
<do things>
myLinewidth = myLinewidth + nIncrement
ENDSCAN
USE
? myLineWidth = 200 (returns .T.)
That should do it.
regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.