﻿function GetPairExamples() {var i;var iNumCards = FormNumbersMemo.NumCards.value;for (i=1 ; i<=FormNumbersMemo.MatchingType.options.length ; i++) {switch (FormNumbersMemo.MatchingType.options[i-1].value) {case 'Sum':FormNumbersMemo.MatchingType.options[i-1].text = rsLangPairingBySum + ' (1 ' + rsLangWith + ' ' + iNumCards + ', 2 ' + rsLangWith + ' ' + (iNumCards-1) + ', ' + rsLangEtc + ')';break;case 'Difference':FormNumbersMemo.MatchingType.options[i-1].text = rsLangPairingByDifference + ' (1 ' + rsLangWith + ' ' + ((iNumCards/2)+1) + ', 2 ' + rsLangWith + ' ' + ((iNumCards/2)+2) + ', ' + rsLangEtc + ')';break;case 'Consecutive':FormNumbersMemo.MatchingType.options[i-1].text = rsLangConsecutivePairing + ' (1 ' + rsLangWith + ' 2, 3 ' + rsLangWith + ' 4, ' + rsLangEtc + ')';break;}}}
