Rev 2054 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2054 | Rev 2098 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | //IF (strcmp(#parametr,"select_color")==0) videlenie=StrToCol(#option); |
52 | //IF (strcmp(#parametr,"select_color")==0) videlenie=StrToCol(#option); |
53 | IF (parametr) && (!strcmp(#file_name+find_symbol(#file_name,'.'),#parametr)) { |
53 | IF (parametr) && (!strcmp(#file_name+find_symbol(#file_name,'.'),#parametr)) { |
54 | errornum=RunProgram(#option,#file_path); |
54 | errornum=RunProgram(#option,#file_path); |
55 | IF (errornum<0) //åñëè îøèáî÷êà âûøëà ïðè çàïóñêå |
55 | IF (errornum<0) //åñëè îøèáî÷êà âûøëà ïðè çàïóñêå |
56 | { |
56 | { |
57 | WriteDebug(#option); |
57 | //WriteDebug(#option); |
58 | Write_Debug_Error(errornum); |
58 | Write_Debug_Error(errornum); |
59 | } |
59 | } |
60 | return; |
60 | return; |
61 | } |
61 | } |
62 | parametr=option=''; |
62 | parametr=option=''; |
Line 69... | Line 69... | ||
69 | } |
69 | } |
70 | RUN_AS_PROGRAM: |
70 | RUN_AS_PROGRAM: |
71 | IF (file_path) errornum=RunProgram(#file_path,''); |
71 | IF (file_path) errornum=RunProgram(#file_path,''); |
72 | IF (errornum<0) //åñëè îøèáî÷êà âûøëà ïðè çàïóñêå |
72 | IF (errornum<0) //åñëè îøèáî÷êà âûøëà ïðè çàïóñêå |
73 | { |
73 | { |
74 | WriteDebug(#file_path); |
74 | //WriteDebug(#file_path); |
75 | Write_Debug_Error(errornum); |
75 | Write_Debug_Error(errornum); |
76 | } |
76 | } |
77 | } |
77 | } |