|
setq
|
The setq function replaces the I-th character in a String with a new
Character value. If the specified target is a Text, it must be first converted to
a String. If the index is greater than the index of the last character in a String,
the String is resized to the size of the specified index, and the intervening
characters are padded with the space character: #\space.
The setq function is used to modify a single character from a String. Assuming there are n characters in the String, the character indices run from 0 thru n-1. The setq function does not apply to Text.
(set string index newValue) Strong Typed:
The result String after setq is performed.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
(setString string index newValue)
Name
Description
AIS Types string A String object. String index An integer index Integer newValue A Character value Character
Returns:
Examples
Argument Types
How do I contact the AIS team?