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
Last revision Both sides next revision
manual:chapter6:operators:cmd_ovr_add [2019/10/16 15:35]
jojo1973 Mostly done. Only examples to be added
manual:chapter6:operators:cmd_ovr_add [2019/10/17 15:30]
jojo1973
Line 80: Line 80:
 In particular: In particular:
   * coercion rules give precedence to first argument rather than the second;   * coercion rules give precedence to first argument rather than the second;
-  * ''​+''​ **NEVER** concatenates ​lists: use ''​[[manual:​chapter6:​lists:​cmd_add|ADD]]''​ instead.+  * the ''​+'' ​operator ​**does not** concatenate or extend ​lists anymore: use ''​[[manual:​chapter6:​lists:​cmd_add|ADD]]''​ instead.
 </​callout>​ </​callout>​
  
 <callout type="​info"​ icon="​true"​ title="​Usage">​ <callout type="​info"​ icon="​true"​ title="​Usage">​
 ---- ----
-TBD FIXME  ​+<​code>​ 
 +2:                         #​120o 
 +1:                           #3h 
 +…………………………………………………………………………………… 
 +
 +</​code>​ 
 +returns ''#​123o''​. 
 +---- 
 +<​code>​ 
 +2:                     (1, ∡60°) 
 +1:                             5 
 +…………………………………………………………………………………… 
 +
 +</​code>​ 
 +returns ''​(5.5678.,​ ∡8.9483.°)''​. 
 +---- 
 +<​code>​ 
 +2:                      "Hello " 
 +1:                      "​world!"​ 
 +…………………………………………………………………………………… 
 +
 +</​code>​ 
 +returns ''"​Hello world!"''​. 
 +---- 
 +<​code>​ 
 +2:                           1_h 
 +1:                        36_min 
 +…………………………………………………………………………………… 
 +
 +</​code>​ 
 +returns ''​1.6_h''​. 
 +---- 
 +<​code>​ 
 +2:                       [ 1 2 ] 
 +1:                       [ 1 0 ] 
 +…………………………………………………………………………………… 
 +
 +</​code>​ 
 +returns ''​[ 2 2 ]''​. 
 +---- 
 +<​code>​ 
 +2:                           '​X'​ 
 +1:                           '​Y'​ 
 +…………………………………………………………………………………… 
 +
 +</​code>​ 
 +returns ''​%%'​X+Y'​%%''​.
 </​callout>​ </​callout>​
  
 <callout color="​darkgray"​ icon="​fa fa-hand-o-right"​ title="​Related Commands">​ <callout color="​darkgray"​ icon="​fa fa-hand-o-right"​ title="​Related Commands">​
 +----
 {{page>​manual:​chapter6:​operators&​nofooter&​noeditbtn&​inline}} {{page>​manual:​chapter6:​operators&​nofooter&​noeditbtn&​inline}}
 </​callout>​ </​callout>​
  • manual/chapter6/operators/cmd_ovr_add.txt
  • Last modified: 2019/11/02 15:06
  • by jojo1973