Page 1 of 1

Converting an old Clipper app

PostPosted: Mon Jan 12, 2015 9:26 am
by Silvio.Falconi
On my old clipper app I have this line

xpos := substr(&xlinha.[xn],1,1) + "x" + substr(&xlinha.[xn],2,1)

How I can converte it ?

Re: Converting an old Clipper app

PostPosted: Mon Jan 12, 2015 10:11 am
by cnavarro
Silvio.Falconi wrote:On my old clipper app I have this line

xpos := substr(&xlinha.[xn],1,1) + "x" + substr(&xlinha.[xn],2,1)

How I can converte it ?


Prueba asi
Code: Select all  Expand view

 xpos := substr(&(xlinha).[xn],1,1) + "x" + substr(&(xlinha).[xn],2,1)
 

Re: Converting an old Clipper app

PostPosted: Wed Jan 14, 2015 8:25 am
by Silvio.Falconi
ok seem to tun

how I can resolve this

I have these clipper commands:

restore from &xalfmem. additive

save to (xalfmem) all like ?x?

inkey(1.2)

Re: Converting an old Clipper app

PostPosted: Wed Jan 14, 2015 1:18 pm
by James Bott
Try:

Code: Select all  Expand view
restore from &(xalfmem) additive

save to &(xalfmem) all like *x*