|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Question: XSL & Dynamic Changes During Run-time
>[Paul Prescod wrote:]
Global functions are global variables in JavaScript.
<title>test</title>
<SCRIPT>
function a(){
return 5;
}
document.writeln( a() )
function b(){
return 10;
}
a = b
document.writeln( a() )
</SCRIPT>
Tricky! This kind of manipulation would certainly be a side effect. So
even global functions should be authored as ?constants?, by which I mean
that the function, once defined, should not be changed.
Jonathan Marsh
phone 425.703.4591
<mailto:jmarsh@xxxxxxxxxxxxx> jmarsh@xxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








