196
Platforms
©2000-2008 Tibbo Technology Inc.
Part
Description
mincount
The number of minutes elapsed since midnight (00:00 is
minute #0). Maximum mincount number is 1439 (23:59).
Details
If a value higher than 1439 is supplied, this call will return 255. This error value
cannot be confused with valid output since normal hours value cannot exceed 23.
Examples
b = hours(620)
' result will be 10 (because this minute number is falls
between 10:00 and 11:00)
.Insert Function
Function:
Inserts insert_str string into the dest_str string at the
insert position pos. Returns the new length of dest_str.
Syntax:
insert(byref dest_str as string, pos as byte,byref
insert_str as string) as byte
See Also:
---
Part
Description
insert_str
The string to insert.
pos
Insert position in the dest_str.
dest_str
The string to insert into.
Details
This is an insert with overwrite, meaning that the insert_str will overwrite a portion
of the dest_str.
Dest_str length can increase as a result of this operation (but not beyond declared
string capacity). This will happen if the insertion position does not allow the
source_str to fit within the current length of the dest_string.
Examples
s = "FLIGHT XXX STATUS"
insert("123",8,s)
's will now be 'FLIGHT 123 STATUS'