Formule.apply() issue

Hi,

https://livedoc.4d.com/4D-Langage-18-R2/Formules/formuleapply.305-4803649.fr.htmlThis 2nd example> extracted from the manual: why does it not work ?

<code 4D>
C_OBJET($calc;$feta;$robot)
$robot:=Creer objet(“nom”;“Robot”;“prix”;543;“quantité”;2)
$feta:=Creer objet(“nom”;“Feta”;“prix”;12.5;“quantité”;5)

$calc:=Formule(This.total:=This.prix*This.quantité)

$calc.apply($feta) // $feta={nom:Feta,prix:12.5,quantité:5,total:62.5}
$calc.apply($robot) // $robot={nom:Robot,prix:543,quantité:2,total:1086}
</code 4D>

I see this:
[]33913138;“Your comment here…”[/]
What’s wrong?

: Arnaud DE MONTARD

What’s wrong?

Weird! Maybe this code does not work on Tuesday :mrgreen: OK Boomer :razz: