[Gambas-user] Fwd: Strean closed at program wns

Dag JNJ gambas at cd-bahia.com
Thu Sep 30 12:48:21 CEST 2021


Hi again, Gambas Version 3.16.3, But as I said, it's solved. your 
analyze is correct, and as I said, I got confused because Gambas said; 
Object expected but got boolean, It should be: Expected boolean but got 
object. My humble opinion. And this"Strean closed at program wns" should 
of course be "Stream closed at program end", sorry for that.

Thanks

Am 30.09.21 um 01:49 schrieb Jussi Lahtinen:
> What is your Gambas version?
>
> Jussi
>
> On Thu, Sep 30, 2021 at 2:36 AM Dag JNJ <gambas at cd-bahia.com 
> <mailto:gambas at cd-bahia.com>> wrote:
>
>     Found it. It was opposite, didn't want an object, wanted a value.
>     That confused me totally. Thank you very much on a stony road,
>
>     regards Dag JNJ
>
>     Am 30.09.21 um 01:21 schrieb Bruce Steers:
>>     Maybe just set a breakpoint in the save function and inspect the
>>     objects.
>>     I wonder if a null object = false ?
>>
>>     On Thu, 30 Sep 2021, 00:16 Dag JNJ, <gambas at cd-bahia.com
>>     <mailto:gambas at cd-bahia.com>> wrote:
>>
>>         I got this:
>>
>>         Unable to save settings: Settings.SameSetting.262 Type
>>         mismatch: wanted
>>         Object, got Boolean instead
>>         Settings.Save.200
>>         ma.OptionsSave.353
>>         FOptions.BOSave_Click.234
>>
>>         Doesn't really tell me something new. My problem: Is it one
>>         of the
>>         settings, then I will go through and mark the line as remark
>>         till  I
>>         find the sinner. What bothers me is; wants an object and got
>>         a boolean.
>>         Which object in a Setting?
>>
>>         Am 30.09.21 um 01:06 schrieb Bruce Steers:
>>         > Catch
>>         > Print Error.text & gb.lf & Error.Backtrace.Join(gb.lf)
>>
>>         ----[ http://gambaswiki.org/wiki/doc/netiquette
>>         <http://gambaswiki.org/wiki/doc/netiquette> ]----
>>
>>
>>     ----[http://gambaswiki.org/wiki/doc/netiquette  <http://gambaswiki.org/wiki/doc/netiquette>  ]----
>
>     ----[ http://gambaswiki.org/wiki/doc/netiquette
>     <http://gambaswiki.org/wiki/doc/netiquette> ]----
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210930/5c201802/attachment.htm>


More information about the User mailing list