Ok, I found an answer to this. For anyone wondering about the same thing, it can be done like this (make-instance ?trash of HEAVIER_TRASH (name ?trash)(weight "higher than 10 kg")) and then you can print it out using (send (symbol-to-instance-name ?trash) print).
Can anyone help me out pls? We're trying to create a recycling software which sorts trash (instance) according to it's attributes (both of which the user inputs using bind). So for example the user inputs "Beer Bottle" and the software asks the user some questions, like "Is the trash made of glass?" If yes, it continues with the questions and adds the attributes to the instance based on the answers (like in this case attribute material would have the value "glass"), until it sorts the trash as "GLASS...
Can anyone help me out pls? We're trying to create a recycling software which sorts trash (instance) according to it's attributes (both of which the user inputs using bind). So for example the user inputs "Beer Bottle" and the software asks the user some questions, like "Is the trash made of glass?" If yes, it continues with the questions until it sorts the trash as "GLASS (yellow container, number 3 .... )" and writes it back to the user so one can know how to dispose of the trash. So what we are...
Can anyone help me out pls? We're trying to create a recycling software which sorts trash (instance) according to it's attributes (both of which the user inputs using bind). So for example the user inputs "Beer Bottle" and the software asks the user some questions, like "Is the trash made of glass?" If yes, it continues with the questions until it sorts the trash as "GLASS (yellow container, number 3 .... )" and writes it back to the user so one can know how to dispose of the trash. So what we are...