LEN()
Jump to navigation
Jump to search
![]() |
![]() |
![]() |
![]() |
Description
- Returns the length in characters of a string.
Syntax
- len(string)
Hints
- Place useful hints about this keyword here
Example
' A potential game routine youAt = 0 wallAt = 10 youShout$ = "Get ready" moveForward = len(youShout$) if moveForward > wallAt then print "Sorry. You bumped into the wall." else print "You are "; wallAt-moveForward; " steps from the wall." end if wait
Useful Procedures
' Place a useful function or sub using this keyword here