ATTR$ FT
Contents |
Effect
Function that allows to
- check if a specific TSR (Terminate and Stay Resident) program is present in the memory managed by MemMan 2.3 and higher (will return value -1 if TSR present, value 0 otherwise)
- return the internal ID-name of the TSR (Terminate and Stay Resident) program that corresponds to the specified sequence number (if the sequence number exceeds the number of TSRs present in the memory, an empty string with length 0 will be returned)
Syntaxes
- ATTR$ FT("<TsrID-Name>")
- ATTR$ FT(<TSrSequenceNumber>)
Parameters
<TsrID-Name> is the internal Identification name of the TSR that you want to check its presence in the memory.
<TsrSequenceNumber> is a number between 0 and the number of loaded TSR programs in the memory.
Note: number 0 corresponds to the built-in TSR program that is present in MemMan 2.3 and higher. The internal ID-name of this TSR program is "MST TsrUtils".
Examples
After having loaded CAPS.TSR and COLOR.TSR in memory:
10 PRINT ATTR$ FT("MJVcapsblink") 20 PRINT ATTR$ FT("MCM's ICP") RUN
-1 0 Ok
10 FOR I= 0 TO 2 20 A$ = ATTR$ FT(I): PRINT A$ 30 NEXT I RUN
MST TsrUtils MJV ColorTsr MJVcapsblink Ok