I’m pretty sure I already know the answer is no but just in case I have to ask.
Is it possible to mark sections of code so they are either executed or remain inoperable via some dynamic action by the user?
Let me explain - based on a selection from a list or a selection of a button, a section (or sections) of the code is (are) dynamically inserted or removed from the active code on a page.
One way to think about this would be to have a way to mark a section(s) of code as comments if a certain user action was invoked (I’m only using comments as an example - since that is the affect I’m talking about) . Or the opposite would be possible. Lines of code that were marked as non-executable could then become active lines within the code.
This seem like it would be very powerful - kind of like “if, then - else” statements are handled in normal code?
Last updated: