Author Topic: clear console?  (Read 2908 times)

GEEK

  • Guest
clear console?
« on: October 24, 2013, 01:29:33 AM »
does anyone know how to clear the console output in egsl?

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: clear console?
« Reply #1 on: October 24, 2013, 08:13:06 AM »
There is no special function for this because EGSL is for graphical windows. Try CLScript instead there you'll have a cls() to clear the console output.

cvirus

  • Guest
Re: clear console?
« Reply #2 on: October 24, 2013, 06:16:12 PM »
In Lua you can use

Code: [Select]
os.execute( "cls" )

GEEK

  • Guest
Re: clear console?
« Reply #3 on: October 24, 2013, 09:52:37 PM »
i know its for graphics windows, sry, i am a little unclear... i meant for the egsl ide...

cvirus

  • Guest
Re: clear console?
« Reply #4 on: October 25, 2013, 10:31:05 AM »
For the graphic windows you can use
Code: [Select]
cls()
And for the console
Code: [Select]
os.execute("cls").

GEEK

  • Guest
Re: clear console?
« Reply #5 on: October 25, 2013, 05:34:34 PM »
take a look at the attachment...
if i use os.execute("cls") I get this:

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: clear console?
« Reply #6 on: October 25, 2013, 07:57:06 PM »
Sorry, you can't clear the "console" of the editor.

GEEK

  • Guest
Re: clear console?
« Reply #7 on: October 26, 2013, 01:49:10 AM »
ok, thanks again (:

cvirus

  • Guest
Re: clear console?
« Reply #8 on: October 26, 2013, 11:03:48 AM »
Sorry, in lua consoloe is possible to clear like that, i did not know that ESGL was not possible.