|
Re: Database Handle and Global Subs: msg#00588web.interchange.users
Sheamus Nulty wrote: > > I'v setup the following. I have a global sub defined as follows in my > interchange.cfg file > > GlobalSub <<EOF > > sub pdfshea { > > my $counter=5; > return "$counter"; > > } > > EOF > > I then run the following > > [set print]1[/set] > [if scratch print] > [pdfshea] > [/if] > > and it just prints out [pdfshea] to the webpage. So I'm of the opinion that > [if] will just print out what comes after it . > If this is the case is my only alternative the solution you provided. Well, that should certainly not work because a global sub will not define a usertag. And, if your pdfcreate usertag was, actually, a global sub, then it will not work either. This should help you out: http://interchange.redhat.com/cgi-bin/ic/dev/ictags_91.html -- Mark Johnson Senior Systems Architect - Professional Services Red Hat, Inc. E-Business Solutions markj@xxxxxxxxxx 703-456-2912 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Interchange crashing: 00588, Tim Mirecki |
|---|---|
| Next by Date: | Re: Interchange crashing: 00588, Mark Johnson |
| Previous by Thread: | Re: Database Handle and Global Subsi: 00588, Jason Kohles |
| Next by Thread: | Re: interchange html4 validation problems: 00588, cfm |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |