Anonymous user
Memory layout of a data structure: Difference between revisions
Memory layout of a data structure (view source)
Revision as of 23:33, 19 December 2019
, 4 years agoMerge omitted languages at bottom and add Processing
(better Pascal example) |
(Merge omitted languages at bottom and add Processing) |
||
Line 1:
{{task}}
{{omit from|BBC BASIC}}▼
It is often useful to control the memory layout of fields in a data structure to match an interface control definition, or to interface with hardware. Define a data structure matching the RS-232 Plug Definition. Use the 9-pin definition for brevity.
Pin Settings for Plug
Line 1,212 ⟶ 1,211:
{{omit from|AWK}}
{{omit from|Batch File|No memory management or data structures.}}
▲{{omit from|BBC BASIC}}
{{omit from|Clojure}}
{{omit from|E}}
Line 1,224:
{{omit from|PARI/GP}}
{{omit from|PlainTeX}}
{{omit from|Processing}}
{{omit from|PureBasic}} <!-- Does not have bit-sized data types. -->
{{omit from|TI-83 BASIC}} {{omit from|TI-89 BASIC}} <!-- Does not have user-defined data structures. -->
|