Mercurial Hosting > reactionary
diff src/beanshell.html.luan @ 89:416bdc22a478
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 23 Apr 2025 12:25:56 -0600 |
parents | f320d444face |
children |
line wrap: on
line diff
--- a/src/beanshell.html.luan Tue Apr 22 23:11:59 2025 -0600 +++ b/src/beanshell.html.luan Wed Apr 23 12:25:56 2025 -0600 @@ -66,6 +66,8 @@ <p>The BeanShell <code>pwd</code> command is like the Bash <code>pwd</code> command, and the BeanShell <code>print</code> command is somewhat like the Bash <code>echo</code> command. But the syntax is different. BeanShell and Java have syntax like most programming languages. While Bash does <code>command arg1 arg2 arg3</code>, most programming languages do <code>command(arg1,arg2,arg3)</code>. In addition, Java requires a <code>;</code> at the end of a statement (command line).</p> +<p><code>pwd</code> and <code>print</code> are only BeanShell commands. They are not in Java.</p> + <p>Also note that Java has the standard arithmetic operators.</p> <%