beautypg.com

HP NonStop G-Series User Manual

Page 150

background image

IMAGE Command

EDIT Command Summary

058061 Tandem Computers Incorporated

4–71

2.

Any of the strings

lstring

,

newstring

, or

rstring

may be null. If

lstring

is null,

newstring

is inserted before

rstring

and begins in

column 1. (All the original text that preceded

rstring

is replaced with

newstring

.) For example:

*LIST 3

3 And the rain was upon the earth forty days and

*IMAGE ""It rained "forty" 3

3 It rained forty days and forty

*

If

newstring

is null, the EDIT program deletes all the characters

between

lstring

and

rstring

. For example:

*IMAGE "forty ""and" 3

3 It rained forty and forty

*

If

rstring

is null,

newstring

is inserted immediately following

lstring

. For example:

*IMAGE "forty "nights "" 3

3 It rained forty nights and forty

*

3.

The following command replaces the line segment bound by

s

on the

left through the end of the line with the string a nice girl like you doing
here?
:

*LIST 10

10 What's new?

*IMAGE END "s "a nice girl like you doing here?"

10 What's a nice girl like you doing here?

*

This manual is related to the following products: