GetPrompt change
This commit is contained in:
parent
1e3c476819
commit
dc299c2af4
|
@ -226,9 +226,17 @@ Begin
|
||||||
{$I+}
|
{$I+}
|
||||||
|
|
||||||
If IoResult <> 0 Then Begin
|
If IoResult <> 0 Then Begin
|
||||||
io.OutFull ('|CR|12Error reading prompt ' + strI2S(N) + '|DE|DE');
|
{$I-}
|
||||||
SystemLog ('Error reading prompt ' + strI2S(N));
|
Reset (PromptFile);
|
||||||
Halt (1);
|
Seek (PromptFile, N);
|
||||||
|
Read (PromptFile, Prompt);
|
||||||
|
{$I+}
|
||||||
|
|
||||||
|
If IoResult <> 0 Then Begin
|
||||||
|
io.OutFull ('|CR|12Error reading prompt ' + strI2S(N) + '|DE|DE');
|
||||||
|
SystemLog ('Error reading prompt ' + strI2S(N));
|
||||||
|
Halt (1);
|
||||||
|
End;
|
||||||
End;
|
End;
|
||||||
|
|
||||||
If Prompt[1] = '@' Then Begin
|
If Prompt[1] = '@' Then Begin
|
||||||
|
|
Loading…
Reference in New Issue