Succ returns the successor of the argument, X.X is an expression of an ordinal type (including Int64). The result, of the same type as X, is the successor of X. Do not use Succ on properties if the property uses a write procedure.比如succ(5)=6 succ(10)=11 又如 type Colors = (RED,BLUE,GREEN); //枚举类型 则 succ(RED)= BLUE
succ(10)=11
又如
type
Colors = (RED,BLUE,GREEN); //枚举类型
则 succ(RED)= BLUE