[pmwiki-users] Setting Page Variables
Hans
design5 at softflow.co.uk
Tue Jul 29 10:46:26 CDT 2008
Tuesday, July 29, 2008, 2:49:15 PM, Dave Cooke wrote:
> Is it possible to set a page variable $FmtPV['$PV']to the value of a PTV?
sure, but why?
# setting PV {$Test} to PTV 'Test'
$FmtPV['$Test'] = PageTextVar($pagename, 'Test');
why would you prefer use of {$Test} over {$:Test} ?
There is also one limitation I believe:
you can use multi-line PTVs, but only single-line PVs
~Hans
More information about the pmwiki-users
mailing list