1 / 6

Associated Processor 15: Structured Storage

Associated Processor 15: Structured Storage. David Liebtag. Title slide. Associated Processor 15. Strong data typing Structured storage Arrays outside workspace Arrays larger than workspace (for C1, C4, I4, E8, and J16) External function parameters Naming elements of arrays.

noelle
Download Presentation

Associated Processor 15: Structured Storage

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Associated Processor 15: Structured Storage David Liebtag Title slide

  2. Associated Processor 15 • Strong data typing • Structured storage • Arrays outside workspace • Arrays larger than workspace (for C1, C4, I4, E8, and J16) • External function parameters • Naming elements of arrays Basic text slide

  3. Associated Processor 15 – Syntax Pattern 15 ⎕NA 'VarName' (Pattern Library) 15 ⎕NA 'VarName' (Pattern Address) 15 ⎕NA 'VarName' ('ADDRESS' 'VarName') 15 ⎕NA 'AddrName' Pattern: '[count] type rank [shape]' Library: Name of library (DLL) containing exported variable Address: Address of memory containing data Basic text slide

  4. Associated Processor 15 – Patterns Sample patterns: 'I4 0' ⍝ Integer scalar 'C1 2 3 4' ⍝ Character matrix 'S1 1 64' ⍝ String 'G0 1 3 I4 1 3 E8 2 3 4 C1 1 32' ⍝ Nested array Basic text slide

  5. Associated Processor 15 – Restrictions Processor 15 creates a copy of the entire array in the workspace each time the array is accessed if: • The array contains any data other than C1, C4, I4, E8, or J16 • The array is nested Processor 15 only supports fixed size arrays Basic text slide

  6. Let’s try some things,,, Basic text slide

More Related