Converting an old Clipper app

Converting an old Clipper app

Postby Silvio.Falconi » Mon Jan 12, 2015 9:26 am

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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6865
Joined: Thu Oct 18, 2012 7:17 pm

Re: Converting an old Clipper app

Postby cnavarro » Mon Jan 12, 2015 10:11 am

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)
 
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Converting an old Clipper app

Postby Silvio.Falconi » Wed Jan 14, 2015 8:25 am

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)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6865
Joined: Thu Oct 18, 2012 7:17 pm

Re: Converting an old Clipper app

Postby James Bott » Wed Jan 14, 2015 1:18 pm

Try:

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

save to &(xalfmem) all like *x*
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 32 guests