rick@hanauma (Richard Ottolini) (08/01/89)
If you used the variable name `index' in your program and declared it globally, it may have aliased to a string(3) function called index(). Some compilers do not detect aliasing, but most debuggers should. Calling index() without arguments can cause a segmentation error in some compilers depending upon the argument passing convention.
sbuck@GATEWAY.MITRE.ORG (Steve Buck) (08/01/89)
I've decided to use a linked list instead of an array. However the problem was when I called the macro, BlackPixel (display, displaywin), I was passing the window instead of the screen. Thanks to all who responded. -- -- Steve Buck The MITRE Corporation, Networking Center McLean, Virginia phone: (703) 883-5574 email: sbuck@gateway.mitre.org