Jean-Yves F. Barbier a écrit :
...
> why am I not able to access one char into a string?
Ok thanks to Doriano & Laurent; strange but acknoledged.
JY
--
About the time we think we can make ends meet, somebody moves the ends.
-- Herbert Hoover
-
Charlie Reinl a écrit :
> Am Mittwoch, den 19.08.2009, 19:03 +0200 schrieb Jean-Yves F. Barbier:
>> Hi list,
>>
>> I've got a global flag that is a string of 2 chars.
>>
>> In some procs, I've to change the 1st char, but I've got an error:
>>
>> Global (class) => EXPORT
>> CREATE
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.lastSelec
Jean-Yves F. Barbier ha scritto:
> Hi list,
>
> I've got a global flag that is a string of 2 chars.
>
> In some procs, I've to change the 1st char, but I've got an error:
>
> Global (class) => EXPORT
> CREATE STATIC
> PUBLIC lastSelection AS String = "DU"
>
> mon
Am Mittwoch, den 19.08.2009, 19:03 +0200 schrieb Jean-Yves F. Barbier:
> Hi list,
>
> I've got a global flag that is a string of 2 chars.
>
> In some procs, I've to change the 1st char, but I've got an error:
>
> Global (class) => EXPORT
> CREATE STATIC
> PUBL
Hi list,
I've got a global flag that is a string of 2 chars.
In some procs, I've to change the 1st char, but I've got an error:
Global (class) => EXPORT
CREATE STATIC
PUBLIC lastSelection AS String = "DU"
monitor => Global.lastSelection = "DU"
prout, prout, p