Scripts
global
prime
power
newtonraphson
fibonacci
file
multithread
digitcubes
perfectseries
perfecttest
kapreckerNumber
kapreckerConstant
hawkresponse
entityTemplate
array
multipleAssignment
global
prime
power
newtonraphson
fibonacci
file
multithread
digitcubes
perfectseries
perfecttest
kapreckerNumber
kapreckerConstant
hawkresponse
entityTemplate
array
multipleAssignment
var xxx = 12
var ttt = xxx
function main()
{
echo "Testing global" +xxx
exec testGlobal()
}
function testGlobal()
{
var yyy = 11
if( yyy < xxx )
{
echo "local var is less than the global one"
}
else
{
echo "IT SHOULD NOT BE HERE"
}
}
var ttt = xxx
function main()
{
echo "Testing global" +xxx
exec testGlobal()
}
function testGlobal()
{
var yyy = 11
if( yyy < xxx )
{
echo "local var is less than the global one"
}
else
{
echo "IT SHOULD NOT BE HERE"
}
}
Testing global12
local var is less than the global one
local var is less than the global one