Cesare Zecca
Member²
Hi all!
What is, in your opinion, the behaviour of this template code snippet?
We would like to expand, different pieces of code in different points, the generation should be based on the true/false (checked/unchecked) value of a single, unique, check box (option).
Let's assume that the user does NOT check that option: the result is
The template instantiation simply stores the text value of the unchecked/checked path of the first occurence of the "check box macro" and instantiates it everywhere the option has been used.
Instead the expected behavior would be, IMO, to remember the true/false (checked/unchecked) value for the option and to expand the code as indicated in the following uses of that "conditional" macro.
In this specific case we would expect for the
Please note that PLSQL Developer does not complain
of other uses of the conditional macro, simply ignores them.
Any way to use a check box macro as if then else code generator?
Thanks in advance.
(PLSQL Developer 6.0.5.926)
What is, in your opinion, the behaviour of this template code snippet?
Code:
-- The first use of the "foo" option
[foo=1st use (no)/1st use(yes)]
...
-- here a different generation
-- based on the value (selection) of the same "foo" option
[foo=2nd use:not checked/2nd use:checked!!]
Let's assume that the user does NOT check that option: the result is
Code:
-- The first use of the "foo" option
1st use (no)
...
-- here a different generation
-- based on the value (selection) of the same "foo" option
1st use (no)
Instead the expected behavior would be, IMO, to remember the true/false (checked/unchecked) value for the option and to expand the code as indicated in the following uses of that "conditional" macro.
In this specific case we would expect for the
Code:
-- The first use of the "foo" option
1st use (no)
...
-- here a different generation
-- based on the value (selection) of the same "foo" option
2nd use:not checked
of other uses of the conditional macro, simply ignores them.
Any way to use a check box macro as if then else code generator?
Thanks in advance.
(PLSQL Developer 6.0.5.926)