$1a tour of Wincupl



Download 374.56 Kb.
Page10/23
Date22.12.2017
Size374.56 Kb.
1   ...   6   7   8   9   10   11   12   13   ...   23
$MEND
New
You can create a new macro file or add a new macro to an existing file by choosing the New button. This will guide you through the process of creating a new CUPL Macro. This process has the following steps:


  1. You will be prompted for the name of the new CUPL macro.

  2. You will be prompted for the number of arguments for the new CUPL macro.

  3. You will be prompted for the name of each of the arguments for the new CUPL macro.

  4. The Create CUPL Macro dialog will be displayed with a template for creating the new CUPL macro.

The Create CUPL Macro dialog provides a template for easily creating CUPL macros and integrating them into the source file.


Add macro to file:
You may choose an existing macro file to save the newly created macro in, or you may choose New Macro File from the drop down list. If you choose New Macro File, you will be prompted for the new file name when you choose OK to save the macro.
Editor Window
Use the editor window to fill in the source code for the new macro. After adding the macro the Editor Window will have the below code.
$MACRO MyMacro Arg1, Arg2, Arg3
$MEND
The user then enters the macro characteristics and saves the file. A complete macro is shown below for a two input AND gate.
$MACRO MyMacro Arg1, Arg2, Arg3

Arg1 = Arg2 & Arg3;






Share with your friends:
1   ...   6   7   8   9   10   11   12   13   ...   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