# Pick Each Bank Backup

Grammar — For Each Bank Backup pertaining to originalBank iterate backup banks in ascending or descending order: descending
FlagsSubFunctions | Action

Loop through all of the bank backups associated with the original bank, if descending order is false it will traverse the banks from oldest to newest, if descending order is true it will traverse the banks from newest to oldest

# Arguments

  • bank — originalBank
  • bool — descendingOrder

Returns — void

BankBackupLoopBegin(#PARAM(originalBank),#PARAM(descending));
for ( ; !BankBackupLoopDone() ; BankBackupLoopStep() ) {
    #SUBFUNCS(actions)
}
BankBackupLoopEnd();

Category: Bank / Loops

# Examples

— None found —