cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

Introduction to the Report Layer

Started ‎11-08-2022 by
Modified ‎11-08-2022 by
View Fullscreen Exit Fullscreen

The report layer of a platform also responds to messages, but you have to access it through a separate object reference. You obtain a reference to the report layer by sending the Report message to the analysis layer, or by calling the Report function with the reference to the analysis layer as its argument. So there are two examples shown here. In the first one, you send a Report message to the analysis layer of the Bivariate platform that's stored in the variable biv. This returns a reference to the report layer that is stored in the variable bivr. In the second example, you call the Report function with a reference to the analysis layer for the Oneway platform, ow, as its argument. This also returns a reference to the report layer, and in this case it's stored in the variable owr. In either case, you access the elements of the report layer using the same subscripting technique that's used with lists and matrices. We'll learn more about subscripting later. These elements are objects that also respond to messages. So in the first example, messages are being sent to named outline items in the report. In the second example, messages are being sent to components of a graph.