FreeBASIC is a completely free, open-source, multi-platform BASIC compiler, with syntax similar to MS-QuickBASIC, that adds new features such as pointers, object orientation, unsigned data types, inline assembly, and many others.
I can't see a problem in the definitions for the various mvaddxxx functions and macros in ncurses.bi. decomposing the calls into equivalent move and add functions works. Example:
' attempting to do some quick curses work
include once "curses.bi"
initscr()
move(0, 0)
addstr("This string gets printed at position (0, 0)")
mvaddstr(1, 0, "and this should be at position (1, 0)")
refresh()
napms(3000)
endwin()
Gets an error when compiled:
Invalid data types in 'mvaddstr(1, 0, "and this should be at position (1, 0)")'
fbc 1.09.0 2022-02-16
I can't see a problem in the definitions for the various mvaddxxx functions and macros in ncurses.bi. decomposing the calls into equivalent move and add functions works. Example:
Gets an error when compiled:
curses.bi and so on are all from the install.
I'm stumped.