blob: 9df4ae942cb33e85c4a12a9e9a8afe3986047f59 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#
# TXTHV -- Write scalar value into header.
#
#
#
#
# Revision history:
# ----------------
#
# 22-Nov-96 - Task created (I.Busko)
procedure txthvi (otp, col, buf)
pointer otp # i: table descriptor
int col # i: column number in input table
int buf
#--
pointer keyword
begin
# Use original column number to build keyword name.
call malloc (keyword, SZ_LINE, TY_CHAR)
call sprintf (Memc[keyword], SZ_LINE, "TCV_%03d")
call pargi (col)
call tbhadi (otp, Memc[keyword], buf)
call mfree (keyword, TY_CHAR)
end
|