1 |
@page |
@page |
2 |
@node Deprecated |
@node Deprecated |
3 |
@chapter Deprecated |
@chapter Deprecated |
4 |
|
|
5 |
|
The features and functions described in this chapter are considered |
6 |
|
obsolete and should not be used by new programs. They're retained for |
7 |
|
compatibility with past versions of Guile. |
8 |
|
|
9 |
|
@deffn {Scheme Procedure} substring-move-left! str1 start1 end1 str2 start2 |
10 |
|
@deffnx {Scheme Procedure} substring-move-right! str1 start1 end1 str2 start2 |
11 |
|
These functions are aliases for @code{substring-move!} and calls to |
12 |
|
them can simply be replaced by @code{substring-move!} (@pxref{String |
13 |
|
Modification}.) |
14 |
|
|
15 |
|
In the past, if @var{str1} and @var{str2} were the same string, it was |
16 |
|
necessary to call @code{substring-move-left!} if the move was to the |
17 |
|
left (@math{@var{start2} < @var{start1}}), or call |
18 |
|
@code{substring-move-right!} if the move was to the right |
19 |
|
(@math{@var{start2} > @var{start1}}). @code{substring-move!} is now |
20 |
|
able to do both. |
21 |
|
@end deffn |
22 |
|
|
23 |
|
|
24 |
|
|