global variables

..okay, so like, how does one declare a variable in a function as global so that it's available to another function without passing it?<br />
<br />
okh<!--content-->without using <br />
var identifier before it<br />
function some(){<br />
var first=0;//local to function scope<br />
innerGlob=4;//global access scope<br />
}<br />
<br />
<br />
by the way,you should have posted in JavaSCript section..:D<!--content-->...will do, and thanks for the variable tip Khalid. These forums are really a great way to socialize with the same circles!<br />
<br />
okham (hoping to get a bigger, better, faster pc sometime...!)<!--content-->
 
Back
Top