Post Reply 
newRPL: [UPDATED April 27-2017] Firmware for testing available for download
10-15-2016, 07:43 PM
Post: #418
RE: newRPL: [UPDATED September-17-16] Firmware for testing available for download
(10-15-2016 02:40 PM)Vtile Wrote:  Hey Claudio you at somepoint somewhere mentioned that are going to change how the +-key will work in adding a object to list. Are you going to just change the command attached to the physical key or swapping the ADD? and + commands. I hope the case is that you change the command attached to key as same way of behaviour of +-command is also found in handy string manipulation.

So if you swap the meaning of ADD and + -commands you end up braking the logic in system what comes to string (maybe other objects also).

The behavior of + for lists is now element-by-element addition. ADD appends an object to a list.
The + key is assigned to the + command, so it does element-by-element addition on lists, normal behavior on all other objects.

For strings, the behavior of + hasn't changed, it performs concatenation as there's no "addition" operation defined over strings.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: [UPDATED September-17-16] Firmware for testing available for download - Claudio L. - 10-15-2016 07:43 PM



User(s) browsing this thread: 1 Guest(s)