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
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/11/02 15:06] (current)
jojo1973 Right justified flag field
Line 39: Line 39:
 |**Type**| [[manual:​chapter5:​basics#​operators|Operator]] ​ || |**Type**| [[manual:​chapter5:​basics#​operators|Operator]] ​ ||
 |**Parallel list processing**| [[manual:​chapter5:​listproc#​group-6two-arguments-one-result-commands|Group 6]]  ||  |**Parallel list processing**| [[manual:​chapter5:​listproc#​group-6two-arguments-one-result-commands|Group 6]]  || 
-|**Affected by flags**| [[manual:​appendix:​flags#​flag-20|-20]] | Underflow exception ​ | +|**Affected by flags**| ​ [[manual:​appendix:​flags#​flag-20|-20]] | Underflow exception ​ | 
-|:::| [[manual:​appendix:​flags#​flag-21|-21]] | Overflow exception ​ | +|:::|  [[manual:​appendix:​flags#​flag-21|-21]] | Overflow exception ​ | 
-|:::| [[manual:​appendix:​flags#​flag-22|-22]] | Infinite result exception ​ | +|:::|  [[manual:​appendix:​flags#​flag-22|-22]] | Infinite result exception ​ | 
-|:::| [[manual:​appendix:​flags#​flag-23|-23]] | Negative underflow indicator ​ | +|:::|  [[manual:​appendix:​flags#​flag-23|-23]] | Negative underflow indicator ​ | 
-|:::| [[manual:​appendix:​flags#​flag-24|-24]] | Positive underflow indicator ​ | +|:::|  [[manual:​appendix:​flags#​flag-24|-24]] | Positive underflow indicator ​ | 
-|:::| [[manual:​appendix:​flags#​flag-25|-25]] | Overflow indicator ​ | +|:::|  [[manual:​appendix:​flags#​flag-25|-25]] | Overflow indicator ​ | 
-|:::| [[manual:​appendix:​flags#​flag-26|-26]] | Infinite result indicator ​ |+|:::|  [[manual:​appendix:​flags#​flag-26|-26]] | Infinite result indicator ​ |
 </​callout>​ </​callout>​
  
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.1571265321.txt.gz
  • Last modified: 2019/10/16 15:35
  • by jojo1973