Difference between revisions of "Language Intrinsics"

From HLKitWiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Basic Concepts and Terminology]]
+
{{context|Basic Concepts and Terminology|Scripting Language|Language Basics}}
[Context: [[Home|HL Kit]] … [[Basic Concepts and Terminology]] … [[Scripting Language]] … [[Language Basics]]]
+
  
 
The scripting language has an assortment of intrinsic (i.e. built-in) functions that can be used for various purposes. Some intrinsic functions operate on strings, while others operate on numbers. Some intrinsic functions return strings, while others return numbers.
 
The scripting language has an assortment of intrinsic (i.e. built-in) functions that can be used for various purposes. Some intrinsic functions operate on strings, while others operate on numbers. Some intrinsic functions return strings, while others return numbers.

Revision as of 01:33, 22 November 2008

Context: HL KitBasic Concepts and Terminology … Scripting Language … Language Basics 

The scripting language has an assortment of intrinsic (i.e. built-in) functions that can be used for various purposes. Some intrinsic functions operate on strings, while others operate on numbers. Some intrinsic functions return strings, while others return numbers.

The purpose of intrinsic functions is to provide authors with re-usable mechanisms that can be used to perform script operations that arise on a recurring basis. For example, the Kit includes intrinsic functions for searching string, carving up strings, comparing strings, and replacing text within strings. Intrinsics are also included to determine the minimum or maximum of two values, round a number off at a certain level of precision, and generate a random number.

The complete list of intrinsic functions will be found in the Kit Reference documentation.