Name

mvasp —

ATTRIBUTES

Attribute Pos. Req. Default Description
table | tables
no_return
interpolate     0 interpolate input?
reparse     0 interpolate output?
hide     0 Hide the tag return value?

DESCRIPTION

BEHAVIOR

This tag does not appear to be affected by, or affect, the rest of Interchange.

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

mvasp is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: code/SystemTag/mvasp.coretag
Lines: 18


# Copyright 2002-2007 Interchange Development Group and others
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.  See the LICENSE file for details.
# 
# $Id: mvasp.coretag,v 1.5 2007-03-30 23:40:49 pajamian Exp $

UserTag mvasp               Order        tables
UserTag mvasp               addAttr
UserTag mvasp               attrAlias    table tables
UserTag mvasp               Gobble
UserTag mvasp               hasEndTag
UserTag mvasp               PosNumber    1
UserTag mvasp               NoReparse
UserTag mvasp               Version      $Revision: 1.5 $
UserTag mvasp               MapRoutine   Vend::Interpolate::mvasp

Source: lib/Vend/Interpolate.pm
Lines: 1574

sub mvasp {
my ($tables, $opt, $text) = @_;
my @code;
$opt->{no_return} = 1 unless defined $opt->{no_return};

while ( $text =~ s/(.*?)<%//s || $text =~ s/(.+)//s ) {
  push @code, <<EOF;
; my \$html = <<'_MV_ASP_EOF$^T';
$1
_MV_ASP_EOF$^T
chop(\$html);
  HTML( \$html );
EOF
  $text =~ s/(.*?)%>//s
    or last;;
  my $bit = $1;
  if ($bit =~ s/^\s*=\s*//) {
    $bit =~ s/;\s*$//;
    push @code, "; HTML( $bit );"
  }
  else {
    push @code, $bit, ";\n";
  }
}
my $asp = join "", @code;
#::logDebug("ASP CALL:\n$asp\n");
return tag_perl ($tables, $opt, $asp);
}

AUTHORS

Interchange Development Group

SEE ALSO

calc(7ic), perl(7ic), calcn(7ic)

DocBook! Interchange!