mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-17 06:45:11 -05:00
Add -dTERMINALWRITELN to debug to terminal rather than debug box.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@193 3f818213-9676-44b0-a9b4-5e4c4e03d09d
This commit is contained in:
parent
bc9999cc07
commit
c3a694a46a
@ -306,7 +306,9 @@ begin
|
||||
ScriptThread := TMMLPSThread.Create(True,@CurrentSyncInfo);
|
||||
ScriptThread.SetPSScript(CurrScript.SynEdit.Lines.Text);
|
||||
// ScriptThread.SetDebug(Self.Memo1);
|
||||
{$IFNDEF TERMINALWRITELN}
|
||||
ScriptThread.SetDebug(@formWriteln);
|
||||
{$ENDIF}
|
||||
ScriptThread.OnError:=@ErrorThread;
|
||||
if ScriptFile <> '' then
|
||||
ScriptThread.SetPaths( ExtractFileDir(ScriptFile) + DS,IncludeTrailingPathDelimiter(ExpandFileName(MainDir +DS + '..' + DS + '..' + ds)))
|
||||
|
Loading…
Reference in New Issue
Block a user