Re: phix and debugging question
- Posted by begin Jun 08, 2018
- 2283 views
thanks for the advice. i tried that. i used
with trace trace(3)
i get
Reading h:/Euphoriaprog/Microexp/discount1.kb ................................................................................................... Parsing done! pDiagN.e line 3041: oops, rtn[=9134] out of range[1..2739] H:\Euphoriaprog\Microexp\myinferer_4.ew:-1 (era=#007399B7, from_addr=#0261FD32, ret_addr=#0261FD3E) in procedure init_infer() subscript is not an atom ... called from H:\Euphoriaprog\Microexp\testmicroexp.ew:11 Global & Local Variables --> see H:\Euphoriaprog\Microexp\ex.err Press Enter...
it's an expert system that constructs a lot of lists. is it possible to change [1..2739] to something larger in pDiagN.e?
richard
sorry i forget. the
public procedure init_infer() done = false goal_list = {} how_list = {} context = {} line_count = 0 active_rule = repeat(true, biggest_rule) clear_screen() end procedure
where biggest_rule = 13. i am using the 64 bit phix.