[ic] ASP like Perl - Loop and Query why can I do both

Dan Browning interchange-users@interchange.redhat.com
Tue Dec 4 12:17:02 2001


> At 08:11 12/4/01 -0800, you wrote:
> > > Im trying to do this and it just wont work
> > >
> > > note: __TABLE_001__ is a comma separated list
> > >
> > > [query sql="SELECT * from table001  "
> > >          type=list
> > >          list=1
> > >          more=1
> > >          ml=1000]
> > >
> > >
> > >                  [list]
> > >                          [perl]
> > >                          $Tag->loop(
> > >                                  {
> > >                                   list => __TABLE_001__
> > >                                  },
> >
> > >                                  for(@list) {[sql-param
> > > $list]}
> >
> >Maybe...
> >
> >for(@list) {q{[sql-param $list]}}
> >
> >...just a thought.
> whats the q in q{[sql.... mean

"q" = "quote", I believe.  In Interchange language, it means "make them
ther's ic tag thingies work in them ther's [calc] thingies".  (I feel a
correction coming already...)  :-)

Dan Browning
Kavod Technologies