October 09, 2024, 04:13:15 PM

News:

IWBasic runs in Windows 11!


Compiler missed missing declare

Started by Bruce Peaslee, October 08, 2006, 03:18:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bruce Peaslee

I'm revising a program to use linked lists instead of an oversized arrayÂÃ,  8)

As I cut and pasted code, I had a problem getting a list box to respond to the OnNotify() method. Since it worked in the code I was pasting from, I could not find the error. It turned out that I had forgotton to declare the method.ÂÃ,  :o

Shouldn't the compiler catch that?
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Ionic Wind Support Team

Ionic Wind Support Team

Ionic Wind Support Team

Fixed.  Forgot to initialize a pointer to NULL ;)
Ionic Wind Support Team

Bruce Peaslee

Quote from: Paul Turley on October 09, 2006, 03:12:29 AM
Fixed.ÂÃ,  Forgot to initialize a pointer to NULL ;)

It happens to the best of us...ÂÃ,  ÂÃ, ;)
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles