element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
Forum What is the function of the semicolon used after a command line in EAGLE?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 172 subscribers
  • Views 573 views
  • Users 0 members are here
Related

What is the function of the semicolon used after a command line in EAGLE?

Michael
Michael over 14 years ago

Any one knows the purpose of using a semicolon after EAGLE command line? I put a semicolon after the command MOVE, EAGLE did not respond. I'm confused...

  • Sign in to reply
  • Cancel
  • Richard_H
    Richard_H over 14 years ago

    Hi,

     

    the semicolon terminates a command. It is mainly used in script files. So you can have for example several commadns in one commone line. In the command line of one of the editro windows it is in most cases not neccessary to use it because you will hit the enter key for executing the command.

    You mentioned the example MOVE.

    To move a component you type   MOVE IC2   and hit the enter key.

    If you type   MOVE    and hit the enter key, MOVE will be active and you have to click onto a object.

    If you type  MOVE;   and hit the enter key, MOVE will be activated and terminated. The command does not stay active and you can't move an object anymore.

     

    Example for a line in a script file:

     

    MOVE IC2; DISPLAY TOP; WIRE (0 0) (1 1);  MOVE R12;

     

    You see the ; separates/terminates the commands.

     

    Regards,

    Richard

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Michael
    Michael over 14 years ago in reply to Richard_H

    Thanks a lot!
    I have another question about the words containing a underscore. For example, the Command syntax " SET color_layer layer_name color_code", I'm confused about the conditions under which a key words should be or should not be replaced by a number or other characters in actual command line. In this command, color_layer needs to remain unchanged, but layer_name and color_code should be replaced by a name and a color code. How do I identify which key words should be replaced or not?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 14 years ago in reply to Michael

    Hi Michael,

     

    let's take the SET command as an example:

     

    SET COLOR_LAYER layer color

     

    The first word is the set option. It is usually written in capital letters (at least in the EAGLE help and in the manual). This is of course part ot the command and must be unchanged. layer and color are paramters, which are erplaced by names, numbers or what ever makes sense there. Layer and color can be a name or a number, like in 

     

    SET COLOR_LAYER  top  red;

    or

    SET COLOR_LAYER  1  3;

     

    Hope this helps.

    Regards,

    Richard

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Michael
    Michael over 14 years ago in reply to Richard_H

    Thank you, now I understand. By the way, the example of this command on page 78 of the Mannual said "SET COLOR_LAYER layer_name color_code", in which three key words contain underscores. I think they are confusing and it's better to replace layer_name and color_code with "layer" and "color" in the Mannual so as to make it more clear for readers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 14 years ago in reply to Michael

    Hi Michael,

     

    I will keep your suggstion in mind for the next release of the manual.

     

    Regards,

    Richard

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube