# $stock_item !! generic function to be used to stock items in stores !! see # pharmacy for an example of use count = ARGS[0] $item = $ARGS[1] price = ARGS[2] $variable_name = $ARGS[3] $location = $ARGS[4] dynamic 'in_inventory = <<$variable_name>>' $buy_link = '= price, ' href="exec: gs ''$buy_item'', <>, ''<<$item>>'', <>, ''<<$variable_name>>'', ''<<$location>>''">buy ','>buy ') + count + '' $RESULT = '' + _ '<<$item>>' + _ '(you have <>)' + _ '<<$buy_link>>' + _ 'for <> rubles' + _ '' --- $stock_item ---------------------------------