2024-09-02 20:16:56 -03:00
|
|
|
PARAM product AS string LIKE telephone DESCRIPTION The name of the product to have the price retrieved.
|
|
|
|
DESCRIPTION Returns the price of the given product.
|
2024-09-01 21:46:55 -03:00
|
|
|
|
2024-09-02 20:16:56 -03:00
|
|
|
product = FIND "products.csv", "name = ${product}"
|
2024-09-01 21:46:55 -03:00
|
|
|
price = product.price
|
2024-09-02 20:16:56 -03:00
|
|
|
RETURN price
|