Prev | ICM Language Reference Constants | Next |
[ int-constant | real-constant | logical-constant | string-constant | iarray-constant | rarray-constant | sarray-constant ]
The values of most of the ICM-shell objects may also be represented explicitly in the ICM-shell as so called "constants" (i.e. in the myFactors={1.2, -4., 5.88} line, myFactors is an ICM-shell variable of the rarray type, while {1.2, -4., 5.88} is an "rarray" constant. The following constants are defined in the ICM-shell:\a - bell \b - backspace \f - formfeed \n - newline \r - carriage return \t - horizontal tab \v - vertical tab \\ - backslash \" - double quote
read table csv "x_with_spec_values.csv" name="t" t.A == Toreal({"ND"})Option number in read table csv will convert empty fields into NDHowever not all functions support them, be careful. Example:
show Toreal({"ND"} # # here we are changing 0. values to NDs group table t {1. 0. 2. 0.} idx = Index( t.A == 0.0 ) t.A[ idx ] = Toreal( Sarray( Nof(idx), "ND" ) )
a_hiv?. a_1,2. a_*. # objects a_h*.a a_m1 a_*.!w2,w15,z* # molecules a_1.*/2:15,18:26 a_/18,his* # residues a_//ca,c,n a_1.c a_/2:4/!h* # atoms v_//phi,psi V_2//?vt* # variables
Prev Alignment Editor | Home Up | Next Subsets |