Anim8or Community
May 19, 2013, 12:05:48 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The v0.97d Preview is now available!  See the "Anim8or v0.97 Preview" Forum for details.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: console output  (Read 1714 times)
csf
Newbie
*
Posts: 26


View Profile WWW
« on: December 17, 2008, 02:41:07 pm »

I am trying to output to the console, with out luck. Could some one show me an example of code that will output text to the console? 
Logged

AKA coaster sim. fan on the old boards
Kubajzz
Flying Platypus
Global Moderator
Sr. Member
*****
Posts: 548


Little doggie ate my avatar...


View Profile
« Reply #1 on: December 17, 2008, 03:06:55 pm »

Here's a simple example. You first have to declare a "file" type variable, then open the console and print your text... And close the console of course...
Code:
file $output;

$output.open("$console", "w");

$output.print("Some text");

$output.close;
Logged
csf
Newbie
*
Posts: 26


View Profile WWW
« Reply #2 on: December 17, 2008, 09:37:50 pm »

Thanks for the help. It worked!
Logged

AKA coaster sim. fan on the old boards
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Anim8orUsers