File: Basic.em
Description: Functions for converting and manipulating number, character, and string values.
Last Modified: 6/23/2006
Bin(number) | |
---|---|
Parameters: | |
Name | Type |
number | The number to convert |
Explanation | |
Returns the binary coded value of 'number' | |
Return values | |
A binary coded number |
CAsc(string) | |
---|---|
Parameters: | |
Name | Type |
string | String to convert |
Explanation | |
Converts the first character of string to an ASCII code | |
Return values | |
ASCII code |
CAscZ(string) | |
---|---|
Parameters: | |
Name | Type |
string | String to convert |
Explanation | |
Converts the string to an array of the character's ASCII codes | |
Return values | |
Array of ASCII values |
CChr(integer) | |
---|---|
Parameters: | |
Name | Type |
number | Integer to convert |
Explanation | |
Converts an ASCII value to a string consisting of one character. | |
Return values | |
A character |
CChrZ(array) | |
---|---|
Parameters: | |
Name | Type |
array | Array of ASCII values |
Explanation | |
Converts an array of ASCII values to a string | |
Return values | |
A string |
CStr(variable) | |
---|---|
Parameters: | |
Name | Type |
variable | A variable Int or Real |
Explanation | |
Converts a real or int to a string. | |
Return values | |
A String |
Hex(number) | |
---|---|
Parameters: | |
Name | Type |
number | The number to convert |
Explanation | |
Returns the hexidecimal value of 'number' | |
Return values | |
A hexidecimal |
SizeOf(expression) | |
---|---|
Parameters: | |
Name | Type |
expression | An expression to evaluate |
Explanation | |
Returns an estimate of the memory used | |
Return values | |
An int |
Unpack(string) | |
---|---|
Parameters: | |
Name | Type |
string | A string to unpack |
Explanation | |
Unpacks a "packed data string" into the variable it represents. See Pack(). | |
Return values | |
A variable |
lower(string) | |
---|---|
Parameters: | |
Name | Type |
string | A string to convert |
Explanation | |
Converts 'string' to lowercase (doesn't work with high-ascii characters or unicode) | |
Return values | |
A string |
upper(string) | |
---|---|
Parameters: | |
Name | Type |
string | A string to convert |
Explanation | |
Converts 'string' to uppercase (doesn't work with high-ascii characters or unicode) | |
Return values | |
A string |
If you know if any information is incorrect on these pages, mail your corrections to shinigami@gmx.net
Copyright ©2003-2011 David Carpman and Shinigami, all rights reserved. DO NOT REPRODUCE, MIRROR, ALTER, SPINDLE, MUTILATE, OR SIT ON.