INCLAN Reference Manual: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
Line 88: Line 88:
* [[INCLAN Graphics: plot curve|plot curve]]
* [[INCLAN Graphics: plot curve|plot curve]]
* [[INCLAN Graphics: plot dot|plot dot]]
* [[INCLAN Graphics: plot dot|plot dot]]
* [[INCLAN Graphics: plot plus|plot plus]]
* [[INCLAN Graphics: plot square|plot square]]
* [[INCLAN Graphics: plot triangle|plot triangle]]
* [[INCLAN Graphics: plot caro, plot cross, plot dot, plot plus, plot square, plot triangle|plot caro, plot cross, plot dot, plot plus, plot square, plot triangle]]
* [[INCLAN Graphics: plot errorbar|plot errorbar]]
* [[INCLAN Graphics: plot errorbar|plot errorbar]]
* [[INCLAN Graphics: plot file|plot file]]
* [[INCLAN Graphics: plot file|plot file]]
Line 102: Line 95:
* [[INCLAN Graphics: plot label|plot label]]
* [[INCLAN Graphics: plot label|plot label]]
* [[INCLAN Graphics: plot line|plot line]]
* [[INCLAN Graphics: plot line|plot line]]
* [[INCLAN Graphics: plot caro, plot cross, plot dot, plot plus, plot square, plot triangle|plot caro, plot cross, plot dot, plot plus, plot square, plot triangle]]
* [[INCLAN Graphics: plot plus|plot plus]]
* [[INCLAN Graphics: plot polygon|plot polygon]]
* [[INCLAN Graphics: plot ps|plot ps]]
* [[INCLAN Graphics: plot ps|plot ps]]
* [[INCLAN Graphics: plot polygon|plot polygon]]
* [[INCLAN Graphics: plot rectangle|plot rectangle]]
* [[INCLAN Graphics: plot rectangle|plot rectangle]]
* [[INCLAN Graphics: plot scale|plot scale]]
* [[INCLAN Graphics: plot scale|plot scale]]
Line 109: Line 104:
* [[INCLAN Graphics: plot shape|plot shape]]
* [[INCLAN Graphics: plot shape|plot shape]]
* [[INCLAN Graphics: plot spline|plot spline]]
* [[INCLAN Graphics: plot spline|plot spline]]
* [[INCLAN Graphics: plot square|plot square]]
* [[INCLAN Graphics: plot text|plot text]]
* [[INCLAN Graphics: plot text|plot text]]
* [[INCLAN Graphics: plot triangle|plot triangle]]
* [[INCLAN Graphics: plot write|plot write]]
* [[INCLAN Graphics: plot write|plot write]]
</div>
</div>

Revision as of 13:00, 13 August 2009

The user interface of the program CYANA is based on INCLAN, a powerful interactive command language that allows the use of variables, mathematical and character expressions, macros, flow control (loops, conditional statements, jumps), parallelization on shared-memory and distributed-memory systems, and the production of graphics.

INCLAN separates the user interface from the specific functions of the underlying program. It allows new commands to be implemented quickly, either in the compiled source code of the program or as interpreted INCLAN scripts (macros). In both cases the command line syntax follows the same, uniform rules, and is automatically checked by INCLAN for consistency and correct data typing. The output of the program is controlled and formatted by INCLAN, which allows the amount and destination of informative output to be defined in a uniform way. The INCLAN command language is an interpreted language that combines features of Unix shell scripts, e.g. the use variable substitutions in the command line, with those of high-level programming languages, e.g. sophisticated mathematical functions and expressions.

The current version of INCLAN is implemented in Fortran-95, and is used as the command interpreter of several program packages written in Fortran and C++, including CYANA, DYANA, GARANT, OPALp, and PROSA.

In the following, literal INCLAN input and output is shown in Courier font. Non-literal input is shown in italics. Optional arguments are enclosed in square brackets “[…]”. In an argument list the ellipsis “…” indicates that the preceding parameter can be repeated.

INCLAN Commands

INCLAN Variables

Expressions and functions

INCLAN Graphics