I am not sure whether I understand correctly the term of 'constructor procedure' and its use in the context of the exercise.
I want to know whether my modification of the two_plus_two.adp answers correctly the point (2) of the exercise:
I want to know whether my modification of the two_plus_two.adp answers correctly the point (2) of the exercise:
proc aquarium {name price} {
global aquarium_types_and_costs
lappend aquarium_types_and_costs "$name $price"
}
aquarium "some name" 60000
#... and so on, I've used aquarium procedure to add all the elements of the given list.
It gives the same result in the browser as the unmodified script
Request notifications