User Tools

Site Tools


code:functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code:functions [2015/04/21 16:06]
skylarmt
code:functions [2019/04/16 02:40] (current)
Line 1: Line 1:
 ====== Built-in Functions ====== ====== Built-in Functions ======
  
-SyMAT has many built-in functions. ​ These are available from JavaScript and Python. +SyMAT has many built-in functions. ​ These are available from JavaScript, Python, ​and Java.
- +
-<WRAP center round info 60%> +
-This page is incomplete. +
- +
-Reason: Not all functions are documented yet. +
-</​WRAP>​+
  
 <WRAP box 60%> <WRAP box 60%>
Line 15: Line 9:
 ===== Symbols ===== ===== Symbols =====
  
-These are only some of the symbols present in SyMAT. ​ Because of differences between ​JavaScript and Python, syntax-specific symbols are omitted.+These are only some of the symbols present in SyMAT. ​ Because of differences between ​coding languages, syntax-specific symbols are omitted.
  
   * ''​%%+%%'':​ Addition.   * ''​%%+%%'':​ Addition.
Line 24: Line 18:
   * ''​%%,​%%'':​ Separates arguments in functions.   * ''​%%,​%%'':​ Separates arguments in functions.
   * ''​%%"​%%'':​ (Double quote) Denotes the start and end of text (strings).   * ''​%%"​%%'':​ (Double quote) Denotes the start and end of text (strings).
-  * ''​%%'​%%'':​ (Single quote) Same as the double quote above.+  * ''​%%'​%%'':​ (Single quote) Same as the double quote above (except in Java).
   * ''​%%=%%'':​ Assign a value to a variable. ​ ''​%%x=5%%''​ will assign the value 5 to variable x.   * ''​%%=%%'':​ Assign a value to a variable. ​ ''​%%x=5%%''​ will assign the value 5 to variable x.
  
Line 37: Line 31:
   * ''​%%save(key,​text)%%'':​ Link the given text to the given key.   * ''​%%save(key,​text)%%'':​ Link the given text to the given key.
   * ''​%%filedialog()%%'':​ Show a file selection dialog and return the chosen file path.   * ''​%%filedialog()%%'':​ Show a file selection dialog and return the chosen file path.
-  * ''​%%textarea()%%'':​ Returns an instance of a multiline text box. +  * ''​%%textbox()%%'':​ Returns an instance of a [[tutorial:​textandweb#​text_box|multiline text box]]
-  * ''​%%browser()%%'':​ Returns an instance of a web browser.+  * ''​%%browser()%%'':​ Returns an instance of a [[tutorial:​textandweb#​browser|web browser]].
  
 ===== Basic Math and Algebra ===== ===== Basic Math and Algebra =====
code/functions.1429653999.txt.gz · Last modified: 2019/04/16 02:40 (external edit)