To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3473
3472  |  3474
Subject: 
Re: Linked Lists in BrickOS
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 10 Oct 2003 14:33:04 GMT
Viewed: 
3550 times
  
In lugnet.robotics.rcx.legos, Michael Purvis wrote:
In lugnet.robotics.rcx.legos, John Hansen wrote:

pNext = (Node *)NULL;

It looks like this was the problem line. I didn't know the syntax for a pointer
to nothing. (in pascal it's just a constant...)

Michael,

This will save you a few keystrokes:

  pNext = 0;

:-)

Mark



Message is in Reply To:
  Re: Linked Lists in BrickOS
 
(...) Yeah, this was the problem. It hadn't occurred to me that BricxCC wasn't saving the file before making. Whoops. (...) Yes, tremendously (...) It looks like this was the problem line. I didn't know the syntax for a pointer to nothing. (in (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR