PDA

View Full Version : Import pjx



avianmanagement
2013-08-06, 06:03
When we import a project any code commented out in VFP with *!* comes through just the same

Should the conversion not alter this to //*!*

or is *!* OK as a commented out section in Lianja ?

yvonne.milne
2013-08-06, 06:29
* is a valid full line comment in Lianja.

Regards,

Yvonne

g6649a01@kabsi.at
2013-08-16, 06:53
Hi Yvonne

Then it would be great, if the importer changes *!* to * (or //) to be able to use lianja's comment/uncomment function. *!* seems to be ignored, but I can't activate it

Also then line seperator ; in VFP is handled "strange", it's cut out. Please cut out the blanks, tabs,.. around to get a readable lianja source code. Not like

CREATE cursor test_dbf (f1 int, f2 int, f3 int, f4 int, f5 int, f6 char(20), f7 char(20), f8 char(20), f9 char(20), f10 char(20), f11 n(20), f12 n(20), f13 n(20), f14 n(20), f15 n(20))

Looks better:
CREATE cursor test_dbf (f1 int,f2 int,f3 int,f4 int,f5 int,f6 char(20),f7 char(20),f8 char(20),f9 char(20),f10 char(20),f11 n(20),f12 n(20),f13 n(20),f14 n(20),f15 n(20))

Everyone can enhance the vfp_import_*.prg, but is this a good way?
Is there a possibility to change this importer in a central repository, like in vfpx, thor,lianjax,.. by everyone who is interessted ?


Claus

g6649a01@kabsi.at
2013-08-16, 06:56
Sorry for my examples

First CREATE cursor... had blanks, tabs,.. as it was in lianja code editor. It seems, that your forum-software/editor is eliminating these tabs (as it is in html) like vfp_import.prg should do...

First example had 3 tabs after each ,

Claus

g6649a01@kabsi.at
2013-08-16, 07:00
next sorry for

Is there a possibility to change this importer in a central repository, like in vfpx, thor,lianjax,.. by everyone who is interessted ?

I saw http://www.lianja.com/community/showthread.php?359-Announcing-LianjaX-Open-Source-Contributions afterwards, will try

Claus

barrymavin
2013-08-16, 07:03
The importers are all open source licensed and are in LianjaX already. You should be able to see the repository.

barrymavin
2013-08-16, 07:09
You can get the very latest code at https://github.com/lianja/LianjaX-VFP_Importers

if you make an changes please submit the changed files as a zip file on a ticket so it can be merged in.