Re: phix and debugging question

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu