Menu

#313 unicon -C list_test: procedure or integer expected

open
iconc (42)
5
2023-09-23
2021-11-16
No

unicon -C -fd list_test
./list_test
Run-time error 106
File list_test.icn; line 359
...
measure_allocation() from line 52 in list_test.icn

unicon -C -fd -nA list_test
(same error)
unicon list_test
(works)

Discussion

  • Charles Evans

    Charles Evans - 2021-11-16

    no makefile, needs:
    unicon -c tester
    before
    (BUT:)
    unicon -C -fd -nA list_test tester
    ./list_test
    Run-time error 121
    File tester.icn; Line 124
    function not supported
    Traceback:
    main(list_1 = [])
    measure_allocation() from line 52 in list_test.icn
    testing__tester("Alloc:",1,&null) from line 359 in list_test.icn
    testing__tester_initially(record testing__tester__mdw_inst_mdw_1,"Alloc:",1,&errout) from line 34 in __faux.icn

     
  • Charles Evans

    Charles Evans - 2023-09-23

    tester: 123: initially(name: "", q: 1, f: &errout)
    does unicon -C support the : spec?
    now same error, but:
    in measure_allocation:
    warning: format %d expects int, arg 2 has type word aka long int
    edit:
    (warning see bug[#289])

     

    Related

    Bugs: #289


    Last edit: Charles Evans 2023-09-23

Log in to post a comment.