205
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
Examples
dim
m
as
pl_months
m = month(
32
)
' result will be PL_MONTH_FEBRUARY - day number 32 was in
February 2000.
Random Function
Function:
Generates a string consisting of len random characters.
Syntax:
random(len as byte) as string
See Also:
---
Part
Description
len
Length of the string to generate.
Details
---
Right Function
Function:
Returns len rightmost characters of a string sourcestr.
Syntax:
right(byref sourcestr as string, len as byte) as string
See Also:
,
Part
Description
sourcestr
String from which to take len rightmost characters.
len
Number of characters to take.
Details
---
Examples
s = right(
"ABCDE"
,
3
)
' result will be 'CDE'
Sha1 Function
Function:
Generates SHA1 hash on the str string.
198
202