yab | yet another Basic for HAIKU
Undocumented yab functions - Printable Version

+- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum)
+-- Forum: General discussion (https://yab.orgfree.com/forum/forumdisplay.php?fid=8)
+--- Forum: yab stuff (https://yab.orgfree.com/forum/forumdisplay.php?fid=10)
+--- Thread: Undocumented yab functions (/showthread.php?tid=171)



Undocumented yab functions - clasqm - 08-28-2024

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?


RE: Undocumented yab functions - lorglas - 11-06-2024

(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.


RE: Undocumented yab functions - lorglas - 11-07-2024

(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