Gamestudio Links
Zorro Links
Newest Posts
freewhyblogelsewhere
by 9489cpjf. 06/03/24 06:06
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,301 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Writing to the SED Output Tab #255174
03/08/09 12:07
03/08/09 12:07
Joined: Sep 2003
Posts: 24
NYC
cabral Offline OP
Newbie
cabral  Offline OP
Newbie

Joined: Sep 2003
Posts: 24
NYC
Is this possible, meaning writing directly to the output tab in SED as a way of simply logging messages. I understand the acklog log can be tailed but this is just another window that needs to be open.

Any suggestions on the best approach to msg logging would be appreciated.

Re: Writing to the SED Output Tab [Re: cabral] #255193
03/08/09 17:10
03/08/09 17:10
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
I cant help with the SED output tab, I am looking forward to an answer to your question myself now.
But, I use the command exec("notepad.exe", "acklog.txt"); at the
end of my code, so it runs just before exit. Maybe you could tie it to a key?


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Writing to the SED Output Tab [Re: EvilSOB] #255211
03/08/09 20:24
03/08/09 20:24
Joined: Sep 2003
Posts: 24
NYC
cabral Offline OP
Newbie
cabral  Offline OP
Newbie

Joined: Sep 2003
Posts: 24
NYC
I see, so this opens notepad and displays the full log. I've gotten accustomed to flash/flex where using trace() writes both the log and an IDE specific output window.

Currently I use diag() to write a message and then tail the file. This works and I do get custom log messages where I put them but its pretty slow and like I said you need to swtich between windows especially if your watching some objects.

Re: Writing to the SED Output Tab [Re: cabral] #255215
03/08/09 20:45
03/08/09 20:45
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Being able to use output window in dwbug mode could be useful.

you can also try another approaches like creating a log/debug/output panel or some kind of console to your game/app.

or you can create another window for outputs using win32.


3333333333
Re: Writing to the SED Output Tab [Re: Quad] #255281
03/09/09 10:20
03/09/09 10:20
Joined: Sep 2003
Posts: 24
NYC
cabral Offline OP
Newbie
cabral  Offline OP
Newbie

Joined: Sep 2003
Posts: 24
NYC
Thanks for the feedback and ideas.


Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1