Re: Using insert()
- Posted by _tom (admin) Jan 09, 2019
- 1260 views
You should learn to place lots (and lots) of output statements in your code when you get stuck.
integer node_descriptor_loc sequence UCTree -- entire file of descriptors sequence extract_path node_descriptor = UCTree[node_descriptor_loc .. node_descriptor_loc + 11] puts(1, node_descriptor ) puts(1, "\n" ) extract_path = insert("UCT.dat", node_descriptor, 4) puts(1, extract_path ) puts(1, "\n" ) puts(1, {extract_path} ) open({extract_path}, "wb")
Let us say extract_path is a string sequence.
Then { extract_path } is a sequence inside a sequence--which is bad for opening a file.
_tom