Skip to content

ask who reads

Alexander Liberov edited this page Oct 21, 2026 · 2 revisions

ask: who-reads

Every routine that reads a field or property. One of the diagram questions of the ask verb -- see Diagrams and Charts for the model, the bundle and click-to-source.

Asking it

Answered in-process by the engine (drag-lint ask); no PowerShell is needed (see Charts and the IDE).

From RAD Studio: drag-lint > Reports > Who reads this field... -- put the caret on the selection first (see IDE Menu Reference).

drag-lint ask --question who-reads --at <file.pas>:<line>:<col> --db <project.sqlite>

The selection is the symbol under --at (resolved exactly as Type at Cursor resolves a caret). From a terminal, ask it by name:

drag-lint ask who-reads --target MyApp.Orders.TOrder.Total --db <project.sqlite>

You select

A field or a property.

The chart shows

The member and every routine that READS it, grouped by unit, with read-site counts. Both totals ride in the header.

It stands on

member_accesses rows with mode read.

Parameters

Row cap (default 20), disclosed as "+N more".

Read it carefully

Same accessor attribution and with caveat as who-writes. A widely read flag (a Connected property read in hundreds of routines) is exactly what the cap exists for.

Clone this wiki locally