Rick Engebretson wrote:
The rest, I don't know. Just plain ncurses.pas works for me. The only programming snag is GPC demands that a function is treated as a function. FPC lets a function pass as a procedure.
GPC doesn't do it unconditionally as it's too dangerous.
`--ignore-function-results' will do it globally (NOT recommended!)
`attribute (ignorable)' for a specific function (only recommended if the result is meaningless and can always be safely ignored, don't use if the result is an error status)
`Discard (MyFunc (...))' for an individual call
Frank