FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Conversion from old 16 bit clipper
Posts: 222
Joined: Mon Jun 04, 2012 12:00 PM
Conversion from old 16 bit clipper
Posted: Sun Aug 19, 2012 06:50 PM

I'm translating an old 16 bit application and now I have a procedure witha a order creation I not Know how convert to fwh :

box_index("orario.$$1")

orario->(dbCreateIndex("orario.$$1", ;
"materie->prec + anagrafe->punti", {|| ;
(materie->(dbGoto(orario->materia)), ;
anagrafe->(dbGoto(orario->prof)), materie->prec + ;
anagrafe->punti + eval({|| (DevPos(14, 14), iif(!EOF(), ;
DevOut(Replicate("²", RecNo() * 51 / LastRec())), Nil), ;
"")}))}))

box_index("orario.$$2")

orario->(dbCreateIndex("orario.$$2", ;
"orario->classe + str( orario->gruppo, 3 ) + orario->gg_ora", ;
{|| orario->classe + Str(orario->gruppo, 3) + orario->gg_ora + ;
eval({|| (DevPos(14, 14), iif(!EOF(), DevOut(Replicate("²", ;
RecNo() * 51 / LastRec())), Nil), "")})}))

I use cdx

Continue the discussion