diff options
author | Björn Gustavsson <[email protected]> | 2017-11-03 10:51:36 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-11-06 15:43:49 +0100 |
commit | 6808aa38b1845bf4bc92ed1cbf6005911e95385a (patch) | |
tree | 99ca33114edec0b4dd755526414ad5bfac20dd16 /erts/emulator/test | |
parent | 83b87392042cb138c3761ad009e30784fb551b76 (diff) | |
download | otp-6808aa38b1845bf4bc92ed1cbf6005911e95385a.tar.gz otp-6808aa38b1845bf4bc92ed1cbf6005911e95385a.tar.bz2 otp-6808aa38b1845bf4bc92ed1cbf6005911e95385a.zip |
Add the built-in macro $IF() to handle conditionals
Add an $IF() macro to conditionally expand macros. Use it like
this:
$IF(Expression, IfTrue, IfFalse)
Expression is a Perl expression that can be evaulated at macro
expansion time. If the expression evaluates to 0, the result will be
IfFalse, otherwise IfTrue.
Diffstat (limited to 'erts/emulator/test')
0 files changed, 0 insertions, 0 deletions