Le mercredi 19 août 2009 19:03:35 Jean-Yves F. Barbier, vous avez écrit :
>
> proc => Global.last.Selection[1] = "W"
>
> gives me a "not an object" error in proc!??
> why am I not able to access one char into a string?
>
> JY

Because a string is a string, not an array of char :-)

Global.lastSelection = "W" & Right$(Global.lastSelection) should work

++

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to