element (A [ 1) ) to be most signific IIIlt and is detennined by the ordering of the predeclared type Char. 

## 6.C. Pack and Unpack 

Access to individual components \If packed arrays is often costly, and depending on the situation and the particular Pascal implementation, sometimes you are advised to pack or unpack a packed array in a single operation. This is possible through the predeclared transfer procedures Pack and Unpack. Letting U be a non-packed array variable of type 

array [A .. D) of T { T cannot be a t I )E' containing a file type } 

and P be a packed array variable (If type 

where ord (D) - ord (A) >= ord ") - ord (B) then 

packed array [B .. C) of 

Pack (U,I,P) 

means to pack that part of u beginning at component I into P, and 

means to unpack pinto u beginnillg at component 1. 

Unpack (P,U,I) 

