$1a tour of Wincupl

Figure 10 Edit – Insert Macro

Download 374.56 Kb.
Size374.56 Kb.
1   ...   4   5   6   7   8   9   10   11   ...   23
Figure 10 Edit – Insert Macro
Note: The macro file containing the macro definitions must be selected first. These are contained in the MACRO subdirectory and are selected by the ‘Insert CUPL Macro Definition’

Select CUPL Macro
The Defined Macros drop down list will show all defined macros within the scope of the source file. You may select any macro present in the drop down list.
When you select a macro, the Assign Arguments frame will be filled in.

Figure 11 Edit – Insert Macro
Assign Arguments
The Argument List displays a list of the macro’s arguments and the variables which will replace the argument values. The argument name is displayed followed by a colon and the replacement variable name.
Initially, all arguments are assigned a No Connection variable which denoted with NC in CUPL syntax. Use the Argument List to assign program variables to the macro arguments.
When you select an argument in the Argument List, the variable name that will replace the argument name is displayed in the Variable list. Below the selected variable name is a list of all program variables that may be assigned to an argument. Select the variable name from the list to replace the argument when the macro reference is placed in the source file.
After you have assigned variables to all of the arguments, choose OK to place the macro reference in the source file
This will paste the following code into the source file at the current cursor position.

T7482 C1 C2 X1 X2 Y1 Y2 Carry;

#39 Insert CUPL Macro Definition command (Edit menu)

The Insert Macro Definition dialog allow you to easily insert a macro definition into your source file. The Insert Macro Definition dialog is displayed to allow you to choose the defined macro to place into the source file or a reference to the file containing the macro definition.

Share with your friends:
1   ...   4   5   6   7   8   9   10   11   ...   23

The database is protected by copyright ©psyessay.org 2017
send message

    Main page
mental health
health sciences
gandhi university
Rajiv gandhi
Chapter introduction
multiple choice
research methods
south africa
language acquisition
Relationship between
qualitative research
literature review
Curriculum vitae
early childhood
relationship between
Masaryk university
nervous system
Course title
young people
Multiple choice
bangalore karnataka
state university
Original article
academic performance
essay plans
social psychology
psychology chapter
Front matter
United states
Research proposal
sciences bangalore
Mental health
compassion publications
workplace bullying
publications sorted
comparative study
chapter outline
mental illness
Course outline
decision making
sciences karnataka
working memory
Literature review
clinical psychology
college students
systematic review
problem solving
research proposal
human rights
Learning objectives
karnataka proforma