Confirmed users
927
edits
Tarek.ziade (talk | contribs) |
Tarek.ziade (talk | contribs) |
||
| Line 23: | Line 23: | ||
- If value is quoted with " chars, it's a string. This notation is useful to include "=" characters in the value. In case the value contains a " character, it must be escaped with a "\" character. | - If value is quoted with " chars, it's a string. This notation is useful to include "=" characters in the value. In case the value contains a " character, it must be escaped with a "\" character. | ||
- When the value is composed of numbers and optionally suffixed by "-", it's converted to an integer. | - When the value is composed of numbers and optionally suffixed by "-", it's tentatively converted to an integer or a long depending on the language. If the number exceeds the range available in the language, it's left as a string. | ||
- If the value is | - If the value is "true" or "false", it's converted to a boolean, or 0 and 1 when the language does not have a boolean type. | ||
- A value can be an environment variable : "${VAR}" is replaced by the value of | - A value can be an environment variable : "${VAR}" is replaced by the value of | ||
VAR if found in the environment. | VAR if found in the environment. If the variable is not found, an error must be raised. | ||
- A value can contains multiple lines. When read, lines are converted into a | - A value can contains multiple lines. When read, lines are converted into a | ||