David:
> If you discover problems or weird behaviour please let me know.
>   
just peeking and poking on Windows using pdcurses and ncurses from trunk.

Some test scripts fail, e.g.

test3-6.rex:

    F:\work\svn\oorexx\incubator\orxcurses>test3-6.rex
        44 *-* lf = '.window~ASCII_LF~d2c()
    Error 6 running F:\work\svn\oorexx\incubator\orxcurses\test3-6.rex line 44: 
 Unmatched "/*" or quote
    Error 6.2:  Unmatched single quote (')
      

test4-3.rex:

    F:\work\svn\oorexx\incubator\orxcurses>test4-3.rex
        44 *-* lf = '.window~ASCII_LF~d2c()
    Error 6 running F:\work\svn\oorexx\incubator\orxcurses\test4-3.rex line 44: 
 Unmatched "/*" or quote
    Error 6.2:  Unmatched single quote (')
      

test8-4.rex:

    F:\work\svn\oorexx\incubator\orxcurses>test8-4.rex

    This is window A
           *-* Compiled code
        63 *-* b~mvaddstr(1, 1, "This is window B" || lf)
    Error 93 running F:\work\svn\oorexx\incubator\orxcurses\test8-4.rex line 
63:  Incorrect call to method
    Error 93.948:  Method argument 1 must be of the Window class
      

test8-5.rex:

    F:\work\svn\oorexx\incubator\orxcurses>test8-5.rex


    This is window A
           *-* Compiled code
        69 *-* b~mvaddstr(1, 1, "This is window B" || lf)
    Error 93 running F:\work\svn\oorexx\incubator\orxcurses\test8-5.rex line 
69:  Incorrect call to method
    Error 93.948:  Method argument 1 must be of the Window class
      

test8-6.rex:

    F:\work\svn\oorexx\incubator\orxcurses>test8-6.rex


    This is window A
           *-* Compiled code
        69 *-* b~mvaddstr(1, 1, "This is window B" || lf)
    Error 93 running F:\work\svn\oorexx\incubator\orxcurses\test8-6.rex line 
69:  Incorrect call to method
    Error 93.948:  Method argument 1 must be of the Window class
      

test10-2.rex: (also test10-4.rex, test10-7.rex):

    F:\work\svn\oorexx\incubator\orxcurses>test10-2.rex
           *-* Compiled code
       360 *-*           self~next_init(nlines, ncols, begin_y, begin_x)
           *-* Compiled code
        61 *-* top = .window~new(halfy, halfx, 1, 1)
    Error 88 running F:\work\svn\oorexx\incubator\orxcurses\ncurses.cls:  
Invalid argument
    Error 88.907:  Argument 2 must be in the range -2147483648 to 2147483647; 
found "62.5"
      

Now either a "~trunc" or "~format(,0)" should be carried out before
those statements when dividing a screen dimension by 2 (to cater for
non-integer results like 62.5 and the like)  for "test10-2.rex", same
for "test10-4.rex", "test10-7.rex".

Some of the test11-*.rex scripts exhibit problems, e.g.

    test11-1.rex: 
      

        F:\work\svn\oorexx\incubator\orxcurses>test11-1.rex
               *-* Compiled code
            59 *-* p~addstr("New pad created")
        Error 93 running
        F:\work\svn\oorexx\incubator\orxcurses\test11-1.rex line 59: 
        Incorrect call to method
        Error 93.948:  Method argument 1 must be of the Window class

    test11-2.rex:
      

        F:\work\svn\oorexx\incubator\orxcurses>rexx test11-2.rex
               *-* Compiled code
            61 *-*   p~addch(ch)
        Error 93 running
        F:\work\svn\oorexx\incubator\orxcurses\test11-2.rex line 61: 
        Incorrect call to method
        Error 93.948:  Method argument 1 must be of the Window class

    test11-4.rex:
      

        F:\work\svn\oorexx\incubator\orxcurses>test11-4.rex
               *-* Compiled code
            65 *-*   p~addch(ch)
        Error 93 running
        F:\work\svn\oorexx\incubator\orxcurses\test11-4.rex line 65: 
        Incorrect call to method
        Error 93.948:  Method argument 1 must be of the Window class

    test11-5.rex:
      

        New pad created
               *-* Compiled code
            54 *-* if p~delwin() = scr~OK
        Error 93 running
        F:\work\svn\oorexx\incubator\orxcurses\test11-5.rex line 54: 
        Incorrect call to method
        Error 93.948:  Method argument 1 must be of the Window class

In the test14*.rex there are some scripts that cause ooRexx to abend
(rexx.exe, 4.0.0.5243): "test14-9.rex" and "test14-10.rex".

---rony




------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to