EasyManua.ls Logo

Kollmorgen AKD Basic

Kollmorgen AKD Basic
506 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
Loading...
AKD BASIC User Guide | 5 AKD BASIC Functions
5.28 STRING$()
General Information
Type Function
Description
Returns a string containing the specified number of occurrences of the specified
character.
Syntax
1) x$ = STRING$(n, a$)
or
2) x$ = STRING$(n, m)
Instructions
n is the number of occurrences of the desired character (the length of the returned string).
In 1), the returned string will consist of the first character in a$
In 2), the returned string will consist of the ASCII value of m.
Example
Print String$(5, 45) 'prints: -----
Print String$(5, "A") 'prints: AAAAA
Related Topics
SPACE$()
91 Kollmorgen | March 30, 2012

Table of Contents

Related product manuals