Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference in the trigger, the Proc statement macro “^RETRIEVE”, the Retrieve key, and the retrieve proc statement?

difference key macro PROC Trigger
0
Posted

What is the difference in the trigger, the Proc statement macro “^RETRIEVE”, the Retrieve key, and the retrieve proc statement?

0

The trigger is an event response that is invoked by the ^RETRIEVE structure editor function. The ^RETRIEVE structure editor function is issued when the user presses a key mapped to ^RETRIEVE, or when the Proc statement macro “^RETRIEVE” simulates such a keystroke. The ^RETRIEVE structure editor function activates the trigger and causes the Proc code in this trigger to execute. The retrieve Proc instruction is normally placed (perhaps with other code) inside the trigger. It can, however, be put in other places. The following points for consideration are very important: • The macro “^RETRIEVE” Proc statement and a Retrieve keystroke activate the trigger. They DO NOT execute a retrieve Proc instruction (unless one happens to be present in the trigger). • The retrieve Proc instruction never executes the trigger. The only connection between the retrieve Proc instruction and the trigger is that the trigge

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123