FoxPro syntax, Properties and fields

This forum is meant for questions about the Visual FoxPro Language support in X#.

mainhatten
Posts: 200
Joined: Wed Oct 09, 2019 6:51 pm

FoxPro syntax, Properties and fields

Post by mainhatten »

Robert van der Hulst wrote: Do you know if there is an overview somewhere of the different bases classes , or better of the complete class hierarchy ?
a bit late (still weekend...) as I did not find the old stuff from Etecnoligica and Lianja, had to generate again - which only was fast on the OOP part..

Attached Scope of Vfp language, OOP part browsable to find fitting intersections for common inheritance.
The other table scope of base functions, commands etc, alter table to add columns for people working on groups of functions, markers of done, tsted, pending and so on.

HTH

thomas
Attachments
ScopeVfp.zip
(88.75 KiB) Downloaded 31 times
User avatar
robert
Posts: 4261
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

FoxPro syntax, Properties and fields

Post by robert »

Thomas,
Thanks, this helps.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
mainhatten
Posts: 200
Joined: Wed Oct 09, 2019 6:51 pm

FoxPro syntax, Properties and fields

Post by mainhatten »

Robert van der Hulst wrote:Thanks, this helps.
Robert,
you are welcome. After eyeballing my setup, small changes might make grouping better. Pls. fire up the Fox:

Code: Select all

USE in SELECT("vfp_lang")
USE vfp_lang in 0 excl 
index on Shrt tag Shrt 
lcWhe = 'LEFT(typ_name,7)== "MODIFY "'
update vfp_lang set shrt = "Modify" where &lcWhe

lcWhe = 'LEFT(typ_name,5) in ("FOPEN", "FILET","STRTO")'
update vfp_lang set shrt = "LLF" where &lcWhe

lcWhe = 'shrt in ("CD | CHDIR","COPY FILE","DELETE FILE"' ;
	+ ',"DIR or DIRECTORY","ERASE","MD | MKDIR","RD | RMDIR"' ;
	+ ',"RENAME","ADIR( )","CURDIR( )","DIRECTORY( )"';
	+ ',"DISKSPACE( )","DRIVETYPE( )","FILE( )")'
update vfp_lang set shrt = "File" where &lcWhe

lcWhe = 'shrt in ("GETFLDSTATE( )","GETNEXTMODIFIED( )"';
	+ ',"GETCURSORADAPTER( )","OLDVAL( )","SETFLDSTATE( )"';
	+ ',"TABLEREVERT( )","TABLEUPDATE( )")'  
update vfp_lang set shrt = "Vfp Buffer" where &lcWhe
	
select shrt, art, COUNT(*) ;
	from vfp_lang;
	group by 1,2 ;
	order by 3 desc ;
	into table vfp_count
	
SET ORDER TO TAG Shrt IN Vfp_lang
SET RELATION TO shrt INTO Vfp_lang ADDITIVE
sele vfp_count
locate for shrt="LLF"
brow nowait
sele vfp_lang
browse nowait
You probably already have LLF done as I guess any language, including already finished VO needs them.
If by any chance not, I might get a quick drop in/shim done until Wednesday latest and implement better for use in Mono/Android as well later on.

regards

thomas
FoxProMatt

FoxPro syntax, Properties and fields

Post by FoxProMatt »

I put an online, searchable, filterable html version of Thomas' VFP_LANG.dbf file here:

http://mattslay.com/files/vfp_lang.html

Filter input box is in upper-right corner of page. You can enter multiple words (separate with space), they are treated like *AND*. Search happens across any/all columns.
mainhatten
Posts: 200
Joined: Wed Oct 09, 2019 6:51 pm

FoxPro syntax, Properties and fields

Post by mainhatten »

Matt Slay wrote:I put an online, searchable, filterable html version of Thomas' VFP_LANG.dbf file here:
Hi Matt,
thx - and quit fast reaction on your side. Hope Robert can use the tables for more than quick checks of his own work - but it is for him to decide how to best utilize his time. I just gave him the info in tables, as I in similar position probably would have wanted it.

regards
thomas
Post Reply