 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
$PROMPT()$ macro |
|
When does the eval of $PROMPT()$ macros happen? At the beginning of the snippet (before everything else) or when the snippet execution comes to that part? Is it possible to populate the list of choices for a prompted option with the results of a $$...$$?
|
|
Wed Apr 05, 2017 3:46 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
I'm not sure if "at the beginning" is a technically correct answer, I think the engine evaluates macros referenced in the snippet code that it needs to execute, aggregates them as not to prompt for the same things multiple times, and then decides which prompts and in which order it needs to display. I don't believe that $PROMPT...$ or any other macro supports dynamic parameters by design as it would require multiple passes when evaluating the snippet code, which I don't believe it's designed for.
|
|
Wed Apr 05, 2017 1:25 pm |
|
 |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
|
|
I was afraid the answer was going to be something like that. Dynamically assembled $PROMPT$ choices could be a powerful feature, kind of a user-defined popup. Would you be so kind and ask the teams opinion on that, please? I'd like to know what they think about it.
|
|
Thu Apr 06, 2017 2:23 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|