[TYPO3-core] RFC: Extend TypoScript values

Martin Kutschker Martin.Kutschker at blackbox.net
Sun Feb 26 18:56:40 CET 2006


Dmitry Dulepov <dima at spamcop.net> writes on 
Sun, 26 Mar 2006 18:35:17 +0200 (METDST):

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi!
> 
> Sebastian Kurfuerst wrote:
> 
> > * operators (+= ...)
> > As already pointed out, there are very few possibilities with
> > them as we are limited to += -= etc
> 
> I think this is the most logical. An we should look first not from
> the
> implementation perspective but from user's view. And from user's view
> it will be quite natural. Another question is how much should be
> changed to enable using += as such operator.


The big drawbak ist that we limited us to only one operation and it's ambiguos with a mathematical +.

With the pseudo-functions we can have many features, eg

x = 4,5
x := addToList(12,56)
x := removeFromList(5)
=> 4,12,56

x = 4
x := add(7)
x := substract(3)
x := multiply(2)
=> 16

Masi 



More information about the TYPO3-team-core mailing list