Skip to content

bitpacked array #5

@User4martin

Description

@User4martin

On the writeln line inspect a

(pdr) inspect a
A = array[0..2] of Boolean = [True, False, False]
program project1; {$Mode objfpc}
type TBoolA = bitpacked array [0..2] of boolean;
var a: TBoolA;
begin
  a[0] := True;
  a[1] := False;
  a[2] := True;
  write(a[1]);
end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions