user399466
user399466

Reputation: 117

NetLogo - reading and writing to a text file for Java API use

I want to use the Java API in my NetLogo program. For that, I need to write to a text file and read input from a text file. How can this be done in NetLogo?

Additionally - what are the ways by which I can integrate the Java API with NetLogo?

Upvotes: 0

Views: 662

Answers (1)

Jose M Vidal
Jose M Vidal

Reputation: 9160

Yes, you can read and write to a text file from NetLogo itself. There is no need to use the Java API. Read about the file commands in the manual found here: http://ccl.northwestern.edu/netlogo/5.0/docs/programming.html#fileio

Upvotes: 2

Related Questions