Sharp OZ-707 Operation Manual - Page 87
Forma, Purpose, Remarks, Example
![]() |
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 87 highlights
LEN P D FORMA T: LEN "string" Abbreviation: See Also: PURPOSE: Returns the number of characters in a string. REMARKS: The number of characters in the string includes any blanks or non-printable characters such as control codes or carriage returns. EXAMPLE: 10: INPUT "ENTER A WORD";A$ 20: N=LEN A$ 30: PRINT "THE WORD LENGTH IS";N 40: END RUN ENTER A WORD CHERRY THE WORD LENGTH IS 6 [10] Prompts for a word. In this example, the user enters "CHERRY". [20] Finds the length of the word. [30] Prints out the answer. LET p o FORMA T: 1. LET numeric variable = expression = 2. LET string variable string Abbreviation: LE. See Also: PURPOSE: Used to assign a value to a variable. REMARKS: LET assigns the value of the expression to the designated variable. The type of the expression must match that of the variable; i.e. only numeric expressions can be assigned to numeric variables and only string expressions can be assigned to string variables. The LET command may be omitted in all LET statements. 162 163
![](/manual_guide/products/sharp-oz707-operation-manual-7aa0508/87.png)