You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a specific Warranty field that tells me the warranty period that applies beyond the legal warranty. Its value can be 0 to N, 0 for no warranty extension beyond the legal warranty. So I want to display the corresponding mention only when the specific warranty is greater than zero. In addition, I have to manage the plural on the year.
Hello,
I have a specific Warranty field that tells me the warranty period that applies beyond the legal warranty. Its value can be 0 to N, 0 for no warranty extension beyond the legal warranty. So I want to display the corresponding mention only when the specific warranty is greater than zero. In addition, I have to manage the plural on the year.
The code should have been this:
I made a mistake and typed 'else' instead of 'elseif'.
Which to my surprise displays "Specific guarantee : 0 year" instead of causing an error.
I guess the parser doesn't know how to distinguish between 'else' and 'elseif', and doesn't know that 'else' doesn't accept arguments.
Regards,
The text was updated successfully, but these errors were encountered: