EasyManuals Logo
Home>HP>Software>TACL

HP TACL User Manual

HP TACL
235 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 #34 background imageLoading...
Page #34 background image
Processing Character Data
Developing TACL Programs
2–14 107365 Tandem Computers Incorporated
To display the contents of sample2, enter:
14> VLIST sample2
1 The name of this variable is "sample2."
2 There are 37 characters in this line.
3 This is the last line in the variable.
To find all occurrences of the word “line” in sample2, enter:
15> VFIND sample2 "line"
2 There are 37 characters in this line.
3 This is the last line in the variable.
To change all occurrences of “line” to “sentence,” enter:
16> VCHANGE sample2 "line" "sentence"
2 There are 37 characters in this sentence.
3 This is the last sentence in the variable.
You can also use a variable for the comparison string:
17> #PUSH var1
18> #SET var1 line
19> VFIND sample2 var1
2 There are 37 characters in this line.
3 This is the last line in the variable.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP TACL and is the answer not in the manual?

HP TACL Specifications

General IconGeneral
BrandHP
ModelTACL
CategorySoftware
LanguageEnglish

Related product manuals