Then you need to install Environment Variable support (comes with C68).SM7I wrote:
I tried what you suggested, but the QL won´t recognize SETENV.
Tobias
Then you need to install Environment Variable support (comes with C68).SM7I wrote:
I tried what you suggested, but the QL won´t recognize SETENV.
OK, I get that. It works perfect with Environment Variable support, but...as I can create a window with a simple struct of condetails and then fopen or io_open CON_ , why can’t curses be used then ?tofro wrote:Then you need to install Environment Variable support (comes with C68).SM7I wrote:
I tried what you suggested, but the QL won´t recognize SETENV.
Tobias
The qdos.h file has be included.struct WINDDEF _condetails =
{
*/ Border Colour, Border Size, Ink, Paper, Xsize, Ysize, Xpos, Ypos */
2,1,7,1,512,256,0,0
};
Code: Select all
#include <curse.h>
#include <qdos.h>
struct WINDDEF _condetails =
{
*/ Border Colour, Border Size, Ink, Paper, Xsize, Ysize, Xpos, Ypos */
2,1,7,1,512,256,0,0
};
main () {
/* ...code continues... */