Difference between revisions of "PLC Laboratory 1"

From Marek Běhálek Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
== Example ==  
 
== Example ==  
 
* Input
 
* Input
<syntaxhighlight lang="Bash" >
+
<syntaxhighlight lang="Shell scripts" >
 
doubleMe x = x * x
 
doubleMe x = x * x
  

Revision as of 11:52, 25 January 2022

Interpreter of Arithmetic Expressions

Example

  • Input
doubleMe x = x * x

plus x y  = x + y + 'a'
  • Output