WHERE
=====
This handy procedure prints the types and addresses of any keywords that
match the search criteria to the given channel.
Use, for example, to find the address of a command you wish to debug with
Qmon/Jmon etc.
Compatible with all QL BASICs.
WHERE is an S*BASIC command, not intended to be compiled or to be part of a
program. It only finds names in the nametable of the SBASIC interpreter it
is called from.
Usage
-----
WHERE[#channel, ] <partial name>
Query:
WHERE 'ex_'
Result (SMSQ/E):
FEX_M (FN) $012298
EX_M (PROC) $0122BA
Or
WHERE#2; ''
Lists all procedures and functions found to channel #2
Program status
--------------
The functional code was extracted from DP's IDIS0 toolkit, part of their
IDIS disassembler, extracted and repackaged by me.
While I could have written my own version from scratch it seemed to make
sense to save a bit of time by just doing it in this way.
The code was extracted with Disa, not with IDIS (Intelligent DISassembler),
as although the IDIS concept is good, I found the implementation imperfect.
WHERE is © Digital Precision, V?, 1986(?)
V0.01, pjw, 2025 May 24, packaging and documentation
Conditions of use and DISCLAIMER as per Knoware.no
Generated by QuickHTM, 2025 May 24