☜ | $TEXT1984 Version of ANSI Standard | ☞ |
$T[EXT] | ( | │ │ │ |
+ intexpr lineref |
│ │ │ |
) |
returns a string whose value is the contents of the line in this routine specified by the argument. Specifically, the entire line, with ls replaced by one SP and eol deleted, is returned.
If the argument of $T is a lineref, the line denoted by the lineref is specified. If the argument is + intexpr, two cases are defined. If the value of intexpr is greater than 0, the intexprth line of the routine is specified; if the value of intexpr is equal to 0, the routinename of the routine is specified. An error will occur if the value of intexpr is less than 0.
If no such line as that specified by the argument exists, an empty string is returned. If the line specification is ambiguous, the results are not defined.
See also the transition diagram for $Text.
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
This page most recently updated on 13-Sep-2014, 17:33:50.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)