EasyManuals Logo

CipherLab 8200 User Manual

CipherLab 8200
263 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #58 background imageLoading...
Page #58 background image
46
CipherLab BASIC Programming Part I
4.4.7 CREATING STRINGS OF REPEATING CHARACTERS
STRING$
Purpose To return a string containing the specified number of the requested character.
Syntax A$ = STRING$(N%, J%)
A$ = STRING$(N%, X$)
Remarks A$is a string variable to be assigned to the result.
N%
is a numeric expression in the range of 0 to 255, indicating the number
of a character.
J%
is a numeric expression in the range of 0 to 255, indicating the ASCII
code of a character.
X$may be a string variable or string constant.
Example
IDX_LENGTH% = 20
Data$ = Name$ + STRING$(IDX_LENGTH% - LEN(Name$),“ ”)
ADD_RECORD$(1, Data$)
padding with space if the length of Name$ is less than IDX_LENGTH%

Table of Contents

Other manuals for CipherLab 8200

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the CipherLab 8200 and is the answer not in the manual?

CipherLab 8200 Specifications

General IconGeneral
IP RatingIP54
Display TypeLCD
Barcode ScannerLaser
ConnectivityRS-232
I/O PortsRS-232

Related product manuals