18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INFOR$–Internal Format Table Interface Routines<br />

12.3.3. SELT$–Transfer to ELT$ Table from INFOR Table<br />

The SELT$ routine transfers a field from the INFOR table to the ELT$ table.<br />

The SELT$ routine is called by the MASM procedure I$NFOR. This procedure can be<br />

used to generate the calling sequence for the relocatable version of the SELT$ routine,<br />

the common bank version of the routine, or the common bank version of the routine<br />

using the Auto Switch calling sequence. Section 3 describes the advantages and<br />

disadvantages of using the different types of calls.<br />

Calling Format<br />

I$NFOR[,t] ‘SELT$’[,ftfn] [packet]<br />

no-find return<br />

find-return<br />

Parameters<br />

t<br />

SELT$<br />

ftfn<br />

Type of call to SELT$. This parameter is optional and may be omitted. If CB or A is<br />

specified, it must be enclosed by apostrophes.<br />

blank Call the relocatable version of SELT$. This is the default if t is omitted.<br />

'CB' Call the common bank version of SELT$.<br />

'A' Call the common bank version of SELT$ using the Auto Switch method.<br />

SELT$ is the function code which specifies which of the INFOR$ routines the<br />

procedure I$NFOR should call. It must be enclosed by apostrophes.<br />

Field that is transferred to the ELT$ table from the INFOR table. If this parameter is<br />

omitted, the SELT$ routine uses the value in H2 of register A0. The value in S5 of<br />

A0 is the field type and the value in S6 of A0 is the field number of the field to be<br />

transferred.<br />

ft Field type (see FT in Appendix G).<br />

fn Field number (see FN in Appendix G).<br />

The field type value may only be 1 (specification field). If 0 is specified, SELT$ will<br />

use a field type value of 1. The field number value may be 1 or greater.<br />

12–8 7833 1733–004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!