|
|
1.2 ! paf 1: $productList[^table::create{id name ! 2: 1 носки ! 3: 2 валенки ! 4: 3 ушанка ! 5: }] ! 6: ! 7: #скажем, у первого дилера ! 8: $firstPriceList[^table::create{id price ! 9: 1 0.3 ! 10: 3 1000 ! 11: }] ! 12: ! 13: $firstPriceHash[^firstPriceList.hash[id]] ! 14: ! 15: ^productList.menu{ ! 16: продукт "$productList.name" | цена у first: $firstPriceHash.[$productList.id].price<br> ! 17: }