[ic] Interpret arguments to usertag

Ed LaFrance interchange-users@icdevgroup.org
Tue Jul 30 12:34:00 2002


At 02:09 AM 07/30/2002 -0400, you wrote:
>I'm having difficulty understanding one part of the usertag capability. I 
>need to pass a dynamic argument to a usertag, but it never seems to be 
>interpreted properly.
>
>Specifically:
>
>         [tag xyz [data session arg] ]
>
>Never interprets [data session arg]. What am I missing?
>
>My sample "tag" is defined as follows:
>
>UserTag tag Order action arg
>UserTag tag Interpolate

UserTag tag PosNumber 2

- Ed L.

>UserTag tag Routine <<EOF
>sub {
>#line 6 "tag.tag"
>         my ($action, $arg) = @_;
>
>         my $str;
>
>         $str = "<h1>Tag</h1>\n";
>         $str .= sprintf "Action=%s<br>\n", $action;
>         $str .= sprintf "Arg=%s<br>\n", $arg;
>
>         return $str;
>}
>EOF
>_______________________________________________
>interchange-users mailing list
>interchange-users@icdevgroup.org
>http://www.icdevgroup.org/mailman/listinfo/interchange-users

===============================================================
Increase profits from your Interchange store...
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================