- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
procedure print(RTK_select:boolean; RLK_select:boolen;MOLK_select:boolean)
begin
if (RTK_select and not RLK_select and not MOLK_select) then
Excel.ActiveWorkBook.WorkSheets[1].Range['B4'] := 'РТК';
if (not RTK_select and RLK_select and not MOLK_select) then
Excel.ActiveWorkBook.WorkSheets[1].Range['B4'] := 'РЛК';
if (not RTK_select and not RLK_select and MOLK_select) then
Excel.ActiveWorkBook.WorkSheets[1].Range['B4'] := 'МОЛК';
if (RTK_select and RLK_select and not MOLK_select) then
Excel.ActiveWorkBook.WorkSheets[1].Range['B4'] := 'РТК,РЛК';
if (not RTK_select and RLK_select and MOLK_select) then
Excel.ActiveWorkBook.WorkSheets[1].Range['B4'] := 'РЛК,МОЛК';
if (RTK_select and not RLK_select and MOLK_select) then
Excel.ActiveWorkBook.WorkSheets[1].Range['B4'] := 'РТК,МОЛК';
if (RTK_select and RLK_select and MOLK_select) then
Excel.ActiveWorkBook.WorkSheets[1].Range['B4'] := 'РТК,РЛК,МОЛК';
if (not RTK_select and not RLK_select and not MOLK_select) then
Excel.ActiveWorkBook.WorkSheets[1].Range['B4'] := '';
end
Обнаружено в недрах старинного проекта. Запись строчки по флажкам.