yab | yet another Basic for HAIKU

Full Version: Undocumented yab functions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently came across some yab functions that seem to have escaped from the documentation.

Code:
a = pcworkspaces

a- window get "MainWindow", "workspace"

These appear in neither the yab commands textfile nor in the Besly app. I just had a feeling that they had to exist, so I, ummmm, ripped apart an existing app to extract its code and see how it was done. Sorry, lorglas, I think it was one of yours.

In fact, looking at the list of reserved keywords there may be a few more undocumented commands. roundrect, anyone?
(08-28-2024, 10:23 AM)clasqm Wrote: [ -> ]I recently came across some yab functions that seem to have escaped from the documentation.

Code:
a = pcworkspaces

a- window get "MainWindow", "workspace"

These appear in neither the yab commands textfile nor in the Besly app. I just had a feeling that they had to exist, so I, ummmm, ripped apart an existing app to extract its code and see how it was done. Sorry, lorglas, I think it was one of yours.

In fact, looking at the list of reserved keywords there may be a few more undocumented commands. roundrect, anyone?


No problem, thank you for reporting. I will take a look in the commands file. On the webside yab.besly.de the reported commands are descripe. I will check it.
(11-06-2024, 12:17 PM)lorglas Wrote: [ -> ]
(08-28-2024, 10:23 AM)clasqm Wrote: [ -> ]I recently came across some yab functions that seem to have escaped from the documentation.

Code:
a = pcworkspaces

a- window get "MainWindow", "workspace"

These appear in neither the yab commands textfile nor in the Besly app. I just had a feeling that they had to exist, so I, ummmm, ripped apart an existing app to extract its code and see how it was done. Sorry, lorglas, I think it was one of yours.

In fact, looking at the list of reserved keywords there may be a few more undocumented commands. roundrect, anyone?


No problem, thank you for reporting. I will take a look in the commands file. On the webside yab.besly.de the reported commands are descripe. I will check it.

Update: From the two you reported, i forget only roundrect in this list of content. I added this to next release.
Free Web Hosting