Article Preview
Buy Now
COLUMN
JavaScript in Xojo
Running JavaScript in your Xojo apps
Issue: 19.5 (September/October 2021)
Author: Stefanie Juchmes
Author Bio: Stefanie studied computer science at the university in Bonn. She came in touch with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 7,377
Starting Page Number: 90
Article Number: 19509
Resource File(s):
project19509.zip Updated: 2021-08-31 23:29:26
Related Web Link(s):
http://www.qslnet.de/member1/dg1xpz/programm/jscript/euklid.html
Excerpt of article text...
In this article I show how you can use JavaScript in your Xojo applications. If you have a problem that you want to solve, you don't have to reinvent the wheel again and again. Perhaps someone has already found a solution to this problem and shared the solution on the Internet. So start a search engine and try your luck.
In this example, we want to implement the Euclidean algorithm. This algorithm determines the greatest common divisor of two numbers. Sure, you could program this directly in Xojo, but this example shows how you can use the JavaScript functions from the MBS plugins.
We can find the algorithm in JavaScript on this web page:
http://www.qslnet.de/member1/dg1xpz/programm/jscript/euklid.html
...End of Excerpt. Please purchase the magazine to read the full article.