Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET TALK
Message
De
16/07/1998 16:09:51
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
À
16/07/1998 14:18:44
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00118233
Message ID:
00118315
Vues:
14
>After changing to CBMM 3.02 my screens immediately stopped working. Specifically they failed on
>
>lcMenuBars = SUBSTR(lcMenuBars, lnLength + 1)
>
>in ctoolbarbutton.SETENABLED(). I flipped back to CBMM 3.01 and everything waas fine. The difference? My default session has SET TALK ON. The old CBMM somewhere sets it to off and the new does not. I see that setting it to off is one of the first things in setup.prg. For now I set the sessionenvironment in cbizobj.
>
>Is that OK?
>
>Thanks.

I ran into this bug before and it is a wild one. It seems if you do a substr on a string with a value that is larger than the the string length you will get an error if talk is on and an empty value if talk is off. I think there is something wrong here and I don't think the performance of a function (to error or not to error) should be based on the talk setting!

Oh well.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform