seti — set value of scratch variable, with interpolation
Attribute | Pos. | Req. | Default | Description |
---|---|---|---|---|
name | Yes | Yes | Name of the scratch variable. | |
interpolate | 1 | interpolate input? | ||
reparse | 1 | interpolate output? | ||
hide | 0 | Hide the tag return value? |
The tag sets value of the named scratch variable.
By default, the provided value is interpolated before
assignment. To not interpolate contents, use [set]
or provide
interpolate=0
attribute to this tag.
Interchange 5.9.0:
Source: code/SystemTag/seti.coretag
Lines: 15
# 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: seti.coretag,v 1.5 2007-03-30 23:40:49 pajamian Exp $ UserTag seti Order name UserTag seti hasEndTag UserTag seti Interpolate UserTag seti PosNumber 1 UserTag seti Version $Revision: 1.5 $ UserTag seti MapRoutine Vend::Interpolate::set_scratch
Source: lib/Vend/Interpolate.pm
Lines: 5242
sub set_scratch { my($var,$val) = @_; $::Scratch->{$var} = $val; return ''; }