I have a number of routines which I have written to perform various
useful functions in VFP5a eg.
&& trims all leading and trailing spaces from any element in
&& the array which is a character expression
FOR lnCnt =1 TO ALEN(tArray)
To use this function you have to pass it the array name by reference
laTest(1)=" Trim both "
laTest(2)="Trim trailers "
laTest(3)=" Trim leaders"
This works very well however when I tried this with a class property
in a method it wont work at all!
cuases the error "Alias 'this' not found"
SET UDFPARMS TO REFERENCE
SET UDFPARMS TO VALUE
causes the error "tArray is not an array"
has anyone any idea how to achieve the same sort of functionality
Note: the email address supplied above has been altered
to help reduce junk e-mails. Remove the underscores before
replying if you wish to send me a genuine e-mail