Does HTML5 include support for variables? - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: Does HTML5 include support for variables?

In comp.infosystems.www.authoring.html message <ktbshi$97m$

Quoted text here. Click to load it

Just put

<script type="text/javascript"> document.write(Banana) </script>

everywhere needed ; in every file that contains such, call an include
file ; and put in the include file

var Banana = "31415926535897932384626433832795"

and edit that include file as required.  Now debug it.

NOTE - to get a number of more than about 15 digits accurately, use a

My site has a page, js-nclds.htm, on Include files; and page
miscdate.htm has, outputting on yellow backgrounds, lots of script
sections not much more complex than the above.

 (c) John Stockton, nr London UK               Reply address via Home Page.
   news:comp.lang.javascript FAQ < .
   < jscr maths, dates, sources.
   < TP/BP/Delphi/jscr/&c, FAQ items, links.

Re: Does HTML5 include support for variables?

John, Thanks for an example easy enough for me to understand! (without  
much thought)

Steve Swift

Site Timeline