#R "XSharp.Core"
USING STATIC XSharp.Core.Functions // Upper() isn ´t recognized later ??
USING STATIC XSharp.Core.FunCTionS // ok !
USING STATIC XSharp.Core.functions // ok !
Upper ( "aaaa" )
tried that, but it makes no difference. As long i´m using exactly "Functions" and not something else like "functions" or "FUNCtions" , Upper() isn´t recognized.
Let's wait until Matt is back again. Maybe his keyboard handling is better than mine
CharlieDenver wrote:This is looking really interesting, very keen to follow this thread
Hi Phillip ,
it's getting even better
All you need is a *standard* DBF to run the script, because currently your dbf may *not* contain any VFP specific fieldtypes ! Simply change the path and the name of the DBF.
Hi Karl
I tried running this in XIDE and get an error
error XS9002: Parser: mismatched input '#R'
Please can you let me know where you are running the prg
RE xDBF.prgx above
Hi Matt
I'm OK with XSI, I've been running that OK
I was asking about the example code listed by Karl above (xDBF.prgx)
Can I run that code inside of VS or XIDE ?
CharlieDenver wrote:Hi Matt
I'm OK with XSI, I've been running that OK
I was asking about the example code listed by Karl above (xDBF.prgx)
Can I run that code inside of VS or XIDE ?
Hi Phillip,
The default app for *.prgx script files is the X# interpreter xsi.exe. Open Notepad, insert my posted code, change the path and filename to a existing DBF and save the content as xDBF.prgx . Then double click in the explorer the file xDBF.prgx
Again: only select a DBF that doesn´t use any VFP specific field types !