|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Placeholder_Replacement_Generic, seg_004676
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
--| @SUMMARY This package searches through a file, replacing every occurrence of --| "placeholders" with strings defined by the client. --| --| @DESCRIPTION Placeholders are strings delimited by a placeholder start --| character (default is '<') and a placeholder finish indicator (default --| is '>'). The placeholder image must match one of the enumeration literals --| defined by the client. --| --| Two placeholder start characters in a row escape replacement of the --| following placeholder. --| --| Placeholders cannot span line breaks (if a line break is encountered --| before a placeholder finish character, the current placeholder will not --| be replaced). --| --| @INDICES (Text_Processing, Utility) --| generic type Placeholders is (<>); with function Replacement_For (This_Placeholder : in Placeholders) return String; Placeholder_Start_Indicator : Character := '<'; Placeholder_Finish_Indicator : Character := '>'; package Placeholder_Replacement_Generic is --| @SUMMARY Replaces the placeholders in the specified files. --| --| @RAISES Io_Failure (if difficulty is encountered opening, reading from, --| writing to, or closing one of the specified files). --| procedure Replace_Placeholders_In (These_Files : in String); Io_Failure : exception; end Placeholder_Replacement_Generic;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1b rec1=00 rec2=01 rec3=05a [0x01] rec0=0e rec1=00 rec2=02 rec3=000 tail 0x217002896815c6670b94c 0x42a00088462061e03