<div dir="ltr">2018-06-28 9:13 GMT-04:00 Tobias Boege <span dir="ltr"><<a href="mailto:taboege@gmail.com" target="_blank">taboege@gmail.com</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you sure? I get<br>
<br>
  $ cat false.gbs3<br>
  #!/usr/bin/env gbs3<br>
<br>
  Public Sub Main()<br>
    Dim var As Boolean<br>
    Print var<br>
  End<br>
  $ ./false.gbs3<br>
  False<br></blockquote><div>i get only no out! i'm using gambas 3.10 maybe a bug!?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Print calls Str$() to convert values to strings and Str$(False) is the<br>
string "False", it's not empty. You or your Print seems to call CStr()<br>
for whatever reason which converts the Boolean False to the Null string,<br>
as that is the only falsy string in Gambas.<br></blockquote><div>i still not override or changed the print ! i'm just use directly<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Instead of Jussi's suggestion with IIf() you can also use Str$(),<br>
if you really just want "True" or "False" to be printed and not some<br>
other strings.<br></blockquote><div>well seems to work, but i want something more direct, <br><br></div><div>so them how to override the print rule/code/class ?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards,<br>
Tobi<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
"There's an old saying: Don't change anything... ever!" -- Mr. Monk<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</div></div></blockquote></div><br></div></div>