Hi all,

Environment 4D 15.5 client server. On Mac client

I have been using

*WR SET SELECTION *($mainarea;*WR Count *($mainarea;wr nb characters);*WR
Count *($mainarea;wr nb characters))
I find the number returned is not really at the end, as whem I append
another 4D write area. gthe last 2 or 3 characters appear ater the append

When I change the command to

$MyNumber_L:=*WR Count *($mainarea;wr nb characters)*2

*WR SET SELECTION *($mainarea;$MyNumber_L;$MyNumber_L)

I get the desired result. How dopes 4D do the count? I know that there are
some illegal characters. (Bullets) but there are many more than the 3 or 4
characters skipped.

Hopefully this may save someone else time as it took a few hours to finally
track down.

Thanks and regards,

Chuck
-- 
-----------------------------------------------------------------------------------------
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
       Providers of 4D, Sybase & SQL Server connectivity
          http://www.informed-solutions.com
-----------------------------------------------------------------------------------------
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to