Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET TALK
Message
From
16/07/1998 16:09:51
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
16/07/1998 14:18:44
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00118233
Message ID:
00118315
Views:
13
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform