我尝试了所有备选办法,以便在我的产出档案中建立一个新线,但我仍然拿着一张 t子——笔记——前信息。 即便有这一超文本法典:
全球[档案]
to setup clear-all
set file "results\GA1.txt" if is-string? file
[while [file-exists? file]
[set file replace-item (length file - 5) file "11" ]
file-open file] end
to go tick write-to-file end
to write-to-file file-print (word ticks) FILE-TYPE "
" file-write 1 file-print (word " " 2 ";") file-write 1 file-print (word " " 2 ";") file-print "" ;; blank line end
我没有空线或线断。 I work in NetLogo 4.1. 是否有任何人知道问题是什么?