Hello,
Experts, I am using Netlogo for a few weeks, and I am facing a problem which confuse me for days.
I have 2 agent groups:KOL and Consumer, they both have Know variable , I want to set the "(Know-kol - Know-consumer) > 0" as a judgment statement,but it is not allowed to use the variable of another agent group likes Know-consumer in the text of"ask kols",I have tried to use global variable compare to save the variable of consumer for avoid this problem,but it fails,so I'm here to seek advice from you experts,sincerely.
Thanks for your help if you have any suggestions!
The error message is as follows
Breed KOLS does not own variable KNOW-CONSUMER
error while kol 7 running KNOW-CONSUMER
called by (anonymous command: [ ifelse Know-kol - Know-consumer > 0