Command reference
One page per command James supports, in alphabetical order in the sidebar. Each page has the same shape: the command’s syntax as James reads it, what it does, when James applies it, the rules James adds where the command leaves a choice, the diagnostics it can raise, and one example script that the test suite runs. A command that James does not support has no page here; the compatibility chapter lists every such command and what James says when it meets one.
The commands by chapter
| Group | Commands | Chapter |
|---|---|---|
| Session and script | echo, becho, title, caption, end, errmod, mxp, intyp, interrupt, resume, para, array, def, painfo, include | Writing a script |
| Control statements | if, elseif, else, endif, when, elsewhen, endwhen, for, endfor, while, endwhile, break | Writing a script |
| Parts | block, cylinder, partmode, meshscal, de, dei, insprt, mseq, lmseq, endpart, control, merge, abort | Parts |
| Vertices | pb, mb, mbi, q, tr, tri, ilin, ilini | Shaping a part |
| Edges and curves | cur, curf, cure, curs, edge, splint, curd | Shaping a part, Geometry |
| Interpolation | lin, lini, tf, tfi | Shaping a part |
| Projection | sf, sfi, patch, ms, spp | Shaping a part |
| Spacing | res, drs, as, das, nds | Shaping a part |
| Surfaces and 2D curves | sd, ld, lcc | Geometry |
| Merge and output | st, stp, t, tp, write, mof, exodusii, neutral, comment, verbatim | Merge and output |
Table of contents
- abort
- array
- as
- becho
- block
- break
- caption
- comment
- control
- cur
- curd
- cure
- curf
- curs
- cylinder
- das
- de
- def
- dei
- drs
- echo
- edge
- else
- elseif
- elsewhen
- end
- endfor
- endif
- endpart
- endwhen
- endwhile
- errmod
- exodusii
- for
- if
- ilin
- ilini
- include
- insprt
- interrupt
- intyp
- lcc
- ld
- lin
- lini
- lmseq
- mb
- mbi
- merge
- meshscal
- mof
- ms
- mseq
- mxp
- nds
- neutral
- painfo
- para
- partmode
- patch
- pb
- q
- res
- resume
- sd
- sf
- sfi
- splint
- spp
- st
- stp
- t
- tf
- tfi
- title
- tp
- tr
- tri
- verbatim
- when
- while
- write