<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[yab | yet another Basic for HAIKU - Fixing yab]]></title>
		<link>https://yab.orgfree.com/forum/</link>
		<description><![CDATA[yab | yet another Basic for HAIKU - https://yab.orgfree.com/forum]]></description>
		<pubDate>Wed, 22 Apr 2026 06:11:30 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[flex.c grows uncontrollably]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=157</link>
			<pubDate>Wed, 13 Mar 2024 18:49:46 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=2">clasqm</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=157</guid>
			<description><![CDATA[Moving this discussion from the Haku Forum ...<br />
<br />
<br />
<img src="https://i.postimg.cc/YqdH3tmZ/Screenshot-2024-03-13-at-18-41-11.png" loading="lazy"  alt="[Image: Screenshot-2024-03-13-at-18-41-11.png]" class="mycode_img" /><br />
<br />
<img src="https://i.postimg.cc/q7nS9rzk/Screenshot-2024-03-13-at-18-44-14.png" loading="lazy"  alt="[Image: Screenshot-2024-03-13-at-18-44-14.png]" class="mycode_img" /><br />
<br />
<img src="https://i.postimg.cc/15kKbq6q/Screenshot-2024-03-13-at-18-45-34.png" loading="lazy"  alt="[Image: Screenshot-2024-03-13-at-18-45-34.png]" class="mycode_img" /><br />
<br />
<br />
<img src="https://i.postimg.cc/Px7DZgQw/Screenshot-2024-03-13-at-18-46-52.png" loading="lazy"  alt="[Image: Screenshot-2024-03-13-at-18-46-52.png]" class="mycode_img" />]]></description>
			<content:encoded><![CDATA[Moving this discussion from the Haku Forum ...<br />
<br />
<br />
<img src="https://i.postimg.cc/YqdH3tmZ/Screenshot-2024-03-13-at-18-41-11.png" loading="lazy"  alt="[Image: Screenshot-2024-03-13-at-18-41-11.png]" class="mycode_img" /><br />
<br />
<img src="https://i.postimg.cc/q7nS9rzk/Screenshot-2024-03-13-at-18-44-14.png" loading="lazy"  alt="[Image: Screenshot-2024-03-13-at-18-44-14.png]" class="mycode_img" /><br />
<br />
<img src="https://i.postimg.cc/15kKbq6q/Screenshot-2024-03-13-at-18-45-34.png" loading="lazy"  alt="[Image: Screenshot-2024-03-13-at-18-45-34.png]" class="mycode_img" /><br />
<br />
<br />
<img src="https://i.postimg.cc/Px7DZgQw/Screenshot-2024-03-13-at-18-46-52.png" loading="lazy"  alt="[Image: Screenshot-2024-03-13-at-18-46-52.png]" class="mycode_img" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Buildfactory not working.]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=156</link>
			<pubDate>Wed, 13 Mar 2024 18:48:06 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=1">bbjimmy</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=156</guid>
			<description><![CDATA[From   <a href="https://discuss.haiku-os.org/t/can-classes-for-gui-creation-be-externalized-to-other-programming-languages/14771" target="_blank" rel="noopener" class="mycode_url">https://discuss.haiku-os.org/t/can-class...ages/14771</a>]]></description>
			<content:encoded><![CDATA[From   <a href="https://discuss.haiku-os.org/t/can-classes-for-gui-creation-be-externalized-to-other-programming-languages/14771" target="_blank" rel="noopener" class="mycode_url">https://discuss.haiku-os.org/t/can-class...ages/14771</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bug tracker]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=143</link>
			<pubDate>Tue, 13 Jun 2023 19:08:36 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=1">bbjimmy</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=143</guid>
			<description><![CDATA[there is now a bug tracker for yab. yab-ide, yab buildfactorey and documentation ... <a href="https://trac.besly.de/" target="_blank" rel="noopener" class="mycode_url">https://trac.besly.de/</a> one muse create an account to report a bug.]]></description>
			<content:encoded><![CDATA[there is now a bug tracker for yab. yab-ide, yab buildfactorey and documentation ... <a href="https://trac.besly.de/" target="_blank" rel="noopener" class="mycode_url">https://trac.besly.de/</a> one muse create an account to report a bug.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[yab 1.8.0]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=139</link>
			<pubDate>Fri, 28 May 2021 11:45:42 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=41">lorglas</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=139</guid>
			<description><![CDATA[Hello,<br />
<br />
yab 1.8.0 can be download on <br />
<br />
<a href="https://yab.besly.de/yab_test/testversion.php" target="_blank" rel="noopener" class="mycode_url">https://yab.besly.de/yab_test/testversion.php</a><br />
<br />
Testphase 2 week from now.<br />
<br />
If you found issue please use our BugTracker tool on.<br />
<br />
<a href="https://trac.besly.de/" target="_blank" rel="noopener" class="mycode_url">https://trac.besly.de/</a><br />
<br />
Thank you in advance.]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
yab 1.8.0 can be download on <br />
<br />
<a href="https://yab.besly.de/yab_test/testversion.php" target="_blank" rel="noopener" class="mycode_url">https://yab.besly.de/yab_test/testversion.php</a><br />
<br />
Testphase 2 week from now.<br />
<br />
If you found issue please use our BugTracker tool on.<br />
<br />
<a href="https://trac.besly.de/" target="_blank" rel="noopener" class="mycode_url">https://trac.besly.de/</a><br />
<br />
Thank you in advance.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Embedded Null characters and std::string]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=133</link>
			<pubDate>Thu, 04 Mar 2021 23:36:23 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=188">SamuraiCrow</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=133</guid>
			<description><![CDATA[Due to extensive rewrites needed to make Yab compile into C++, I was wondering if rewriting the string handling routines to use the standard template libraries would be an acceptable first step to writing an updated Yab.  (Std::Strings are length terminated and are resistant against embedded null characters screwing things up.)<br />
<br />
I've looked at the original YaBasic sources on Linux and it is a terrible mess.  If Yab is to be a permanently deviated fork from the original YaBasic, perhaps I could look into optimizing the source to use the C++ standard template library routines.  I figure that Haiku is written in C++ anyway and it might make things smaller to depend on libStdC++ for the existing runtime libraries built-in to the OS.  (Unlike YaBasic which uses Ruby for its build system and Autoconf and Automake along with Gnu Make and other scripting that those drag in as dependencies.)<br />
<br />
Now for the real question:  Will pull requests to bbjimmy's repo be accepted for the C++ enhanced version of Yab?]]></description>
			<content:encoded><![CDATA[Due to extensive rewrites needed to make Yab compile into C++, I was wondering if rewriting the string handling routines to use the standard template libraries would be an acceptable first step to writing an updated Yab.  (Std::Strings are length terminated and are resistant against embedded null characters screwing things up.)<br />
<br />
I've looked at the original YaBasic sources on Linux and it is a terrible mess.  If Yab is to be a permanently deviated fork from the original YaBasic, perhaps I could look into optimizing the source to use the C++ standard template library routines.  I figure that Haiku is written in C++ anyway and it might make things smaller to depend on libStdC++ for the existing runtime libraries built-in to the OS.  (Unlike YaBasic which uses Ruby for its build system and Autoconf and Automake along with Gnu Make and other scripting that those drag in as dependencies.)<br />
<br />
Now for the real question:  Will pull requests to bbjimmy's repo be accepted for the C++ enhanced version of Yab?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[YAB New Version]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=122</link>
			<pubDate>Mon, 03 Feb 2020 19:25:16 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=41">lorglas</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=122</guid>
			<description><![CDATA[Hello, <br />
<br />
i have created a new version of yab. (calls like yab 1.7.7 and yab 1.7.8). yab 1.7.7 includes various bug fixes and reactivating Sound. yab 1.7.8 has a new command &gt;Mediasound&lt;.  <br />
bbjimmy got me back info that old bound programs would not work then with yab 1.7.8. <br />
<br />
So I question the conversion to lib yab and yab, which should prevent that. I had the following suggestions?<br />
<br />
1. You leave yab as it is.  Then it would never be developed.  <br />
<br />
2. You recompile your programs to the new yab version.  <br />
<br />
3. You build yab back as a bin and use a c script which starts the yab<br />
program. So you always have an executable file and yab is started as a script. Lelldorin has a script to do that. <br />
<br />
4. A greate a new branch of this language. but thats not cool. In the past we have to recompile our old programs to a new yab version. <br />
<br />
P.s. The next think i would to implement is array_sort / array_search / joystick. But I don't know if I can do it.<br />
<br />
Regards lorglas]]></description>
			<content:encoded><![CDATA[Hello, <br />
<br />
i have created a new version of yab. (calls like yab 1.7.7 and yab 1.7.8). yab 1.7.7 includes various bug fixes and reactivating Sound. yab 1.7.8 has a new command &gt;Mediasound&lt;.  <br />
bbjimmy got me back info that old bound programs would not work then with yab 1.7.8. <br />
<br />
So I question the conversion to lib yab and yab, which should prevent that. I had the following suggestions?<br />
<br />
1. You leave yab as it is.  Then it would never be developed.  <br />
<br />
2. You recompile your programs to the new yab version.  <br />
<br />
3. You build yab back as a bin and use a c script which starts the yab<br />
program. So you always have an executable file and yab is started as a script. Lelldorin has a script to do that. <br />
<br />
4. A greate a new branch of this language. but thats not cool. In the past we have to recompile our old programs to a new yab version. <br />
<br />
P.s. The next think i would to implement is array_sort / array_search / joystick. But I don't know if I can do it.<br />
<br />
Regards lorglas]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Resolved. As of hrev51449 yab is broken.]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=93</link>
			<pubDate>Sun, 01 Oct 2017 02:46:09 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=1">bbjimmy</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=93</guid>
			<description><![CDATA[in hrev51449 BControlLook was changed. The change that added the tabs on the side removed the reliance on BControlLook. So until I get another release done,  <a href="http://yab.orgfree.com/GetLatest-yab.zip" target="_blank" rel="noopener" class="mycode_url">http://yab.orgfree.com/GetLatest-yab.zip</a> is your friend.]]></description>
			<content:encoded><![CDATA[in hrev51449 BControlLook was changed. The change that added the tabs on the side removed the reliance on BControlLook. So until I get another release done,  <a href="http://yab.orgfree.com/GetLatest-yab.zip" target="_blank" rel="noopener" class="mycode_url">http://yab.orgfree.com/GetLatest-yab.zip</a> is your friend.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[That's funny]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=87</link>
			<pubDate>Tue, 09 May 2017 22:48:57 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=2">clasqm</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=87</guid>
			<description><![CDATA[Haven't seen this before: I'm filling a listbox with content<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sub FillListbox()<br />
&nbsp;&nbsp;&nbsp;&nbsp;local listing&#36;, listing, w&#36;(1)<br />
&nbsp;&nbsp;&nbsp;&nbsp;listing&#36; = system&#36;("ls -1 ~")<br />
&nbsp;&nbsp;&nbsp;&nbsp;listing = token(listing&#36;, w&#36;(), "&#92;n")<br />
&nbsp;&nbsp;&nbsp;&nbsp;for f = 1 to listing<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listbox add "TheList", f, w&#36;(f)<br />
&nbsp;&nbsp;&nbsp;&nbsp;next f<br />
end sub</code></div></div><br />
and when run, the program writes this to standard output, whether DEBUG=1 or not<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Range: 241.000000 - 243.000000<br />
Range: 56.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000</code></div></div><br />
It's not important, but I prefer my programs to output text only when I tell it to. This happens on Haiku href51123. I suspect it may be a Haiku rather than a yab error, but I thought I'd report it here anyway.]]></description>
			<content:encoded><![CDATA[Haven't seen this before: I'm filling a listbox with content<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sub FillListbox()<br />
&nbsp;&nbsp;&nbsp;&nbsp;local listing&#36;, listing, w&#36;(1)<br />
&nbsp;&nbsp;&nbsp;&nbsp;listing&#36; = system&#36;("ls -1 ~")<br />
&nbsp;&nbsp;&nbsp;&nbsp;listing = token(listing&#36;, w&#36;(), "&#92;n")<br />
&nbsp;&nbsp;&nbsp;&nbsp;for f = 1 to listing<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listbox add "TheList", f, w&#36;(f)<br />
&nbsp;&nbsp;&nbsp;&nbsp;next f<br />
end sub</code></div></div><br />
and when run, the program writes this to standard output, whether DEBUG=1 or not<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Range: 241.000000 - 243.000000<br />
Range: 56.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000<br />
Range: 108.000000 - 243.000000</code></div></div><br />
It's not important, but I prefer my programs to output text only when I tell it to. This happens on Haiku href51123. I suspect it may be a Haiku rather than a yab error, but I thought I'd report it here anyway.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[error report]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=82</link>
			<pubDate>Sat, 28 Jan 2017 20:14:07 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=2">clasqm</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=82</guid>
			<description><![CDATA[Updated to today's latest yab from FatElk repo, on top of the latest Hrev 50906. And they don't like each other, not one little bit.<br />
<br />
<img src="https://dl.dropboxusercontent.com/u/1043447/screenshot1.png" loading="lazy"  alt="[Image: screenshot1.png]" class="mycode_img" />]]></description>
			<content:encoded><![CDATA[Updated to today's latest yab from FatElk repo, on top of the latest Hrev 50906. And they don't like each other, not one little bit.<br />
<br />
<img src="https://dl.dropboxusercontent.com/u/1043447/screenshot1.png" loading="lazy"  alt="[Image: screenshot1.png]" class="mycode_img" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[yabIDE]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=80</link>
			<pubDate>Mon, 09 Jan 2017 00:11:20 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=3">lelldorin</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=80</guid>
			<description><![CDATA[In my version of yab (bbjimmy) is an bug selecting the "open project folder", it always opens the last loaded project in the project list and not the selected.]]></description>
			<content:encoded><![CDATA[In my version of yab (bbjimmy) is an bug selecting the "open project folder", it always opens the last loaded project in the project list and not the selected.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[yab interfering with system shutdown]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=50</link>
			<pubDate>Fri, 05 Feb 2016 10:25:58 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=2">clasqm</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=50</guid>
			<description><![CDATA[I've been seeing my apps created with yab 1.7.5.2 interfering with system shutdown, giving the message "Application XXX has aborted the Shutdown Process". I was tinkering with my desktop applet Fuzzytime, which is designed to run ALL the time, so it always gives this problem, but it seems to be happening if any yab app is running: script, bound, built, makes no difference.]]></description>
			<content:encoded><![CDATA[I've been seeing my apps created with yab 1.7.5.2 interfering with system shutdown, giving the message "Application XXX has aborted the Shutdown Process". I was tinkering with my desktop applet Fuzzytime, which is designed to run ALL the time, so it always gives this problem, but it seems to be happening if any yab app is running: script, bound, built, makes no difference.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Error in hrev 50028]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=48</link>
			<pubDate>Fri, 15 Jan 2016 14:28:17 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=2">clasqm</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=48</guid>
			<description><![CDATA[THis just showed up for the first time<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>~/projects/FuzzyTime/binder&gt; yab<br />
runtime_loader: /boot/system/lib/libyab.so: Could not resolve symbol 'DrawLabel__Q28BPrivate12BControlLookP5BViewPCcG5BRectRC5BRectRC9rgb_colorUlRC10BAlignment'<br />
resolve symbol "DrawLabel__Q28BPrivate12BControlLookP5BViewPCcG5BRectRC5BRectRC9rgb_colorUlRC10BAlignment" returned: -2147478780<br />
runtime_loader: /boot/system/lib/libyab.so: Troubles relocating: Symbol not found</code></div></div><br />
EDIT: Yes, it seems to affect all yab programs. This is using yab-1.7.5.1-1-x86_gcc2.hpkg<br />
<hr class="mycode_hr" />
Never mind, I see bbjimmy already has a ticket out on this.]]></description>
			<content:encoded><![CDATA[THis just showed up for the first time<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>~/projects/FuzzyTime/binder&gt; yab<br />
runtime_loader: /boot/system/lib/libyab.so: Could not resolve symbol 'DrawLabel__Q28BPrivate12BControlLookP5BViewPCcG5BRectRC5BRectRC9rgb_colorUlRC10BAlignment'<br />
resolve symbol "DrawLabel__Q28BPrivate12BControlLookP5BViewPCcG5BRectRC5BRectRC9rgb_colorUlRC10BAlignment" returned: -2147478780<br />
runtime_loader: /boot/system/lib/libyab.so: Troubles relocating: Symbol not found</code></div></div><br />
EDIT: Yes, it seems to affect all yab programs. This is using yab-1.7.5.1-1-x86_gcc2.hpkg<br />
<hr class="mycode_hr" />
Never mind, I see bbjimmy already has a ticket out on this.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[TeamID and ThreadID]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=36</link>
			<pubDate>Tue, 25 Aug 2015 15:32:40 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=41">lorglas</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=36</guid>
			<description><![CDATA[Hello,<br />
<br />
i want to use TeamID and ThreadID.<br />
<br />
when i type in the terminal:<br />
<br />
yab -execute 'print thread get "ThreadID", "top"'<br />
<br />
i get a number. if i type <br />
<br />
yab -execute 'print thread get "ThreadID", "yab-IDE"' also.<br />
it's ok, but when i want a number from a yab program i get -1<br />
<br />
i mean i run a program from the ide and then i open a terminal and type<br />
yab -execute 'print thread get "ThreadID", "ink.yab"' (ink.yab is my program in the yab-ide)<br />
i get -1 and i  don't understand this.<br />
<br />
And i think that TeamID doesn't work.<br />
<br />
Best Regards<br />
<br />
lorglas]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
i want to use TeamID and ThreadID.<br />
<br />
when i type in the terminal:<br />
<br />
yab -execute 'print thread get "ThreadID", "top"'<br />
<br />
i get a number. if i type <br />
<br />
yab -execute 'print thread get "ThreadID", "yab-IDE"' also.<br />
it's ok, but when i want a number from a yab program i get -1<br />
<br />
i mean i run a program from the ide and then i open a terminal and type<br />
yab -execute 'print thread get "ThreadID", "ink.yab"' (ink.yab is my program in the yab-ide)<br />
i get -1 and i  don't understand this.<br />
<br />
And i think that TeamID doesn't work.<br />
<br />
Best Regards<br />
<br />
lorglas]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[View remove and scrollbar]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=35</link>
			<pubDate>Mon, 24 Aug 2015 23:02:06 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=41">lorglas</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=35</guid>
			<description><![CDATA[Hello everybody,<br />
<br />
i have make a view and on this view i have add scrollbars, but when i remove this view the scrollbar are avaiable. <br />
I think view remove doesn't work correctly.<br />
<br />
i use YAB 1.7.5 (but this problem is older) with Haiku os -&gt; 49562<br />
<br />
View 2,120 to WindowSize_x-15,WindowSize_y-35, "Malflaeche", Start_FensterName&#36;<br />
	SCROLLBAR "scroll", 3, "Malflaeche" //"Malflaeche"<br />
	SCROLLBAR SET "scroll", "plain-border" <br />
	SCROLLBAR SET "scroll", "Vertical Position", 0<br />
	SCROLLBAR SET "scroll", "Horizontal Position", 0<br />
<br />
view_exists=view get "Malflaeche","exists"<br />
print view_exists<br />
if (view_exists=1) then<br />
    view remove "Malflaeche"<br />
endif<br />
<br />
Best Regards<br />
<br />
lorglas]]></description>
			<content:encoded><![CDATA[Hello everybody,<br />
<br />
i have make a view and on this view i have add scrollbars, but when i remove this view the scrollbar are avaiable. <br />
I think view remove doesn't work correctly.<br />
<br />
i use YAB 1.7.5 (but this problem is older) with Haiku os -&gt; 49562<br />
<br />
View 2,120 to WindowSize_x-15,WindowSize_y-35, "Malflaeche", Start_FensterName&#36;<br />
	SCROLLBAR "scroll", 3, "Malflaeche" //"Malflaeche"<br />
	SCROLLBAR SET "scroll", "plain-border" <br />
	SCROLLBAR SET "scroll", "Vertical Position", 0<br />
	SCROLLBAR SET "scroll", "Horizontal Position", 0<br />
<br />
view_exists=view get "Malflaeche","exists"<br />
print view_exists<br />
if (view_exists=1) then<br />
    view remove "Malflaeche"<br />
endif<br />
<br />
Best Regards<br />
<br />
lorglas]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[RAN() misbehaving]]></title>
			<link>https://yab.orgfree.com/forum/showthread.php?tid=15</link>
			<pubDate>Mon, 06 Jul 2015 22:04:54 +0300</pubDate>
			<dc:creator><![CDATA[<a href="https://yab.orgfree.com/forum/member.php?action=profile&uid=2">clasqm</a>]]></dc:creator>
			<guid isPermaLink="false">https://yab.orgfree.com/forum/showthread.php?tid=15</guid>
			<description><![CDATA[<span style="color: #2F4F4F;" class="mycode_color">Description</span>:<br />
<span style="color: #1E90FF;" class="mycode_color">The ran-function returns a random number. If no argument is given, the number returned is in the range from 0 to 1; where only 0 is a possible value; 1 will never be returned. If an argument is supplied, the number returned will be in the range from 0 up to this argument, whereas this argument itself is not a possible return value.<br />
</span><br />
<br />
OK, so RAN(7) is supposed to give me a random number between 0 and 6.9999. This is how the command has worked in every version of BASIC I've ever seen. It seems to be broken in yab.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>~/projects/DailyHaiku/binder&gt; touch ran.bas<br />
~/projects/DailyHaiku/binder&gt; echo "print ran(7)"&gt;ran.bas<br />
~/projects/DailyHaiku/binder&gt; cat ran.bas <br />
print ran(7)<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04283<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04294<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04299<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04305<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04305<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.0431<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04316<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04327<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04332</code></div></div><br />
Yes, those are technically random numbers. But nowhere near the range the command is supposed to give.<br />
<br />
yab 1.7.5 running on Haiku hrev49371<br />
<br />
Let's increase that seed number to 14<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>~/projects/DailyHaiku/binder&gt; rm ran.bas<br />
~/projects/DailyHaiku/binder&gt; touch ran.bas<br />
~/projects/DailyHaiku/binder&gt; echo "print ran(14)"&gt;ran.bas<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22032<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22086<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22097<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22108<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22119<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.2213<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22141</code></div></div><br />
The same thing happens with an old (1.7) version of yab, so the problem either is in the underlying OS, or I am not understanding the documentation. <br />
<br />
RAN() without a seed number works as expected so as a workaround we can use (RAN()) * 7<br />
<hr class="mycode_hr" />
In fact it is worse: if you try<br />
<br />
for f = 1 to 10<br />
print ran()<br />
next<br />
<br />
and run it a few times the first one always seems to start with 0.3, and only after that does it start to look random at all.]]></description>
			<content:encoded><![CDATA[<span style="color: #2F4F4F;" class="mycode_color">Description</span>:<br />
<span style="color: #1E90FF;" class="mycode_color">The ran-function returns a random number. If no argument is given, the number returned is in the range from 0 to 1; where only 0 is a possible value; 1 will never be returned. If an argument is supplied, the number returned will be in the range from 0 up to this argument, whereas this argument itself is not a possible return value.<br />
</span><br />
<br />
OK, so RAN(7) is supposed to give me a random number between 0 and 6.9999. This is how the command has worked in every version of BASIC I've ever seen. It seems to be broken in yab.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>~/projects/DailyHaiku/binder&gt; touch ran.bas<br />
~/projects/DailyHaiku/binder&gt; echo "print ran(7)"&gt;ran.bas<br />
~/projects/DailyHaiku/binder&gt; cat ran.bas <br />
print ran(7)<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04283<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04294<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04299<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04305<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04305<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.0431<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04316<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04327<br />
~/projects/DailyHaiku/binder&gt; yab ran.bas <br />
2.04332</code></div></div><br />
Yes, those are technically random numbers. But nowhere near the range the command is supposed to give.<br />
<br />
yab 1.7.5 running on Haiku hrev49371<br />
<br />
Let's increase that seed number to 14<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>~/projects/DailyHaiku/binder&gt; rm ran.bas<br />
~/projects/DailyHaiku/binder&gt; touch ran.bas<br />
~/projects/DailyHaiku/binder&gt; echo "print ran(14)"&gt;ran.bas<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22032<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22086<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22097<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22108<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22119<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.2213<br />
~/projects/DailyHaiku/binder&gt; /bin/yab ran.bas <br />
4.22141</code></div></div><br />
The same thing happens with an old (1.7) version of yab, so the problem either is in the underlying OS, or I am not understanding the documentation. <br />
<br />
RAN() without a seed number works as expected so as a workaround we can use (RAN()) * 7<br />
<hr class="mycode_hr" />
In fact it is worse: if you try<br />
<br />
for f = 1 to 10<br />
print ran()<br />
next<br />
<br />
and run it a few times the first one always seems to start with 0.3, and only after that does it start to look random at all.]]></content:encoded>
		</item>
	</channel>
</rss>