1. Home
  2. Set up ConTEXT

Set up ConTEXT


Material from the original ASReml Cookbook that was last modified by Dr. Apiolaza on October 31, 2005.

As I mentioned before, I recommend using the ConTEXT programming text editor. This editor supports a multiple document interface (so you can simultaneously look at the command file, output, etc), huge file sizes, syntax highlighting for several languages apart from ASReml (e.g., Python, Perl, C++). Once you download and install ConTEXT, go to the ‘Highlighters’ folder of the installed program and copy the file Attach:ASReml.chl (for ASReml v1.0) or Attach:ASReml2.chl (for ASReml v2.0, this one kindly provided by Mick Carrick from DPI Victoria, Australia). Just right click the appropriate link to save it to your computer.

Update: ASReml v2 comes with a ConTEXT highlighter as part of the standard distribution. The highlighter is based on my first highlighter, later extended by Greg Dutkowski and Arthur Gilmour.

Next time you restart ConTEXT and open an .as file, ConTEXT will highlight the ASReml code for you. This is very handy when writing long complex jobs. If you are writing an as yet unsaved file: just click on Tools | Set Highlighter | ASReml.

Copyright (1997–2009) by Luis Apiolaza, some rights are reserved.

Updated on July 9, 2021

Was this article helpful?