View unanswered posts | View active topics It is currently Fri Oct 09, 2015 11:38 pm

Reply to topic  [ 2 posts ] 
debugWriteLine + NULL 
Author Message
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3589
Location: Rotterdam, The Netherlands
Post debugWriteLine + NULL
Don't have access to my mail (I am in the office), so just putting it in here:
This code will crash ROBOTC completely when running it in an emulator mode. I used the NXT platform in this case.

task main()
  writeDebugStreamLine("%d", NULL);

Why would I even do that? No idea, I was just playing with some code for a tutorial and it so happened something I printed was NULL. This is just the simplest demo case :)

- Xander

| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]

Thu Nov 15, 2012 2:32 am
Profile WWW
User avatar

Joined: Fri Nov 02, 2012 12:07 am
Posts: 163
Location: California, USA
Post Re: debugWriteLine + NULL
Interesting... :? :shock: any clues as to why? :|

string Robored = "Awesome"
~~Neil Balch~~

Thu Oct 24, 2013 11:35 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.