xsharp.eu • FoxPro syntax, Properties and fields - Page 4
Page 4 of 4

FoxPro syntax, Properties and fields

Posted: Mon Oct 21, 2019 1:53 am
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

FoxPro syntax, Properties and fields

Posted: Mon Oct 21, 2019 6:47 am
by robert
Thomas,
Thanks, this helps.

Robert

FoxPro syntax, Properties and fields

Posted: Mon Oct 21, 2019 7:49 pm
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

FoxPro syntax, Properties and fields

Posted: Mon Oct 21, 2019 9:22 pm
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.

FoxPro syntax, Properties and fields

Posted: Tue Oct 22, 2019 6:31 pm
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