See EXAMPLES in saltbr.txt. See also dinucs.txt. See dipep examples in moltab.js at getVisNTHetero() dipeps.txt concerns only CODE. ----------------------------- SALT BRIDGES listChargedEnds() in scripts.js creates chargedN/CTerminiList* using EndN/CCharged[] makeSaltBridgedEndsSpt() (scripts.js) uses * to define ~chargedEndNitrogens, ~chargedEndOxygens DON'T INCLUDE DIPEPTIDE ENDS YET CAUTION: ~ntermhetn, ~ctermheto are defined only after Charge View is shown. Determining charges prior to Ends or SaltBridges or Contacts does NOT define these. However, NTChargedHetAANames is defined when SaltBridges is the first operation. makeChargeSpt() (scripts.js) uses NTChargedChains/Seqnums[] to define ~ntermn and NTChargedHetAANames, NTChargedHetSeqnums/Chains[] to define ~ntermhetn (see getVisNTHetero() in moltab.js) it also defines ~ctermo (more complicated) and ~ctermheto (not limited to het with OXT)