[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: interpolation within [set][/set] (nevermind - somehow solved)
Hi All,
While working on other parts of my code, this somehow started working. :P
Cheers,
Tim
-----Original Message-----
From: Tim Shea [SMTP:tim@valutech.net]
Sent: Saturday, June 26, 1999 3:54 PM
To: 'minivend-users@minivend.com'
Subject: interpolation within [set][/set]
****** message to minivend-users from Tim Shea <tim@valutech.net> ******
Hi All,
Maybe I'm missing something - I've been through the docs several times, the
mailing list archives, and what seem to be applicable modules (Data.pm and
Interpolate.pm), and cannot figure out how to make the following work:
[set PricingData][data base="prices" field="prices"
key="[item-code]"][/set]
[scratch PricingData]
What ends up being displayed is:
[data base="prices" field="prices" key="MMS-0120"]
This, however, does work:
[data base="prices" field="prices" key="[item-code]"]
Which correctly displays:
1:9.99 3:8.99 6:7.99 12:5.99
I will be using the scratch variable PricingData within [perl][/perl] tags,
so a solution for reading the data within these would work for me also.
Thank you,
Tim Shea
Valutech
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list