SCL Types

From Developer Documents
Revision as of 06:36, 5 September 2012 by Hannu Niemisto (talk | contribs) (Created page with "== Basic types == SCL is statically typed language which means that types of the possible values of all variables are known already at compile time. The following types have bui...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basic types

SCL is statically typed language which means that types of the possible values of all variables are known already at compile time. The following types have builtin support:

  • Boolean
  • Byte, Short, Integer, Long
  • Float, Double
  • String
  • BooleanArray, ByteArray, ShortArray, IntegerArray, LongArray, FloatArray, DoubleArray
  • []
  • (), (,), (,,), ...
  • (->)
  • Maybe
  • Array

Other types are either imported from the host language or defined in SCL modules.