How do i need to write function?

I am doing the Rapid developer module, and I need to write a function, but I do something wrong. The system reports ERROR and I can not continue.  I am sending print screen.. Thank you in advance.    
1 answers


The documentation expains how to use it. It also provides examples. What you did was copy the definition instead of writing an actual expression.

Description: addDays( <variable representing the date you want to adjust> , <number of days you want to add>)

Example ussage: addDays($currentDateTime, 2)