KB Article 9688

Contact Tech Support

 Email Tech Support
 (250) 655-1766
 [7:30 - 5:00 PST]
Your Meeting ID will be Provided by a Rep.
Tech Support
Tech Support Home
Software Updates
Knowledge Base Search
Recent KB Articles
Product FAQs
Code Samples
Tech Blog
System Requirements
Installation Instructions
Support Testimonials
Contact us to...
Create a Ticket
Request a Free Demo
Suggest a New Feature
Submit Feedback
Upload a Large File
Other Services
Software Training
Professional Services

How can I move or copy lines in the Actions Editor from one context to another?

Product: ProGen Plus Type: Frequently Asked Question

If you have a block of lines in the Actions Editor that you want to move or copy from one context to another within a definition, follow these steps:

  1. Type MM or CC at the first line to move/copy and an MM/CC at the last line.
  2. Press F7 to select another context. Select the context.
  3. Put in an 'A' at the line to place the copied lines of code after.
If you are moving/copying a single line, just use a single M or C on that line.
If you are copying a large block of Actions, you should also be asking yourself if the lines of code are better suited to be included in a user-defined context.
To create a user-defined function (essentially a subroutine defined within the Actions Editor, in Actions), start by creating your first CALLFNC action, and choose a type of *USER. Once you add that first CALLFNC you can press F7 to switch to another context, where you'll see that the new function exists as an Actions Editor context at the bottom of your list.
You can then copy or move your block of code to this context and add additional CALLFNC actions in the other places from which you want to execute this code.

Rate This Article

Did this example help you to achieve your goal?
 Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.

Email Address:
Please enable JavaScript in order to rate this page.