neal
Full Member
Posts: 104
|
Post by neal on Feb 28, 2009 19:09:23 GMT -5
I've found a case where some default variables are not being set...
' test.bas print "DefaultDir=";DefaultDir$ print "ProjectRoot=";ProjectsRoot$ print "Platform=";Platform$ print "UserInfo=";UserInfo$ print "UrlKeys=";UrlKeys$ print "UserAddress=";UserAddress$ print "ResourcesRoot=";ResourcesRoot$
sub test print "== Object in Sub ==" run "test", #object2 render #object2 end sub
print "== Object Outside Sub ==" run "test", #object1 render #object1
call test
For some reason when test.bas is run inside a sub, the only default variables with values are DefaultDir$ and Platform$.
|
|
|
Post by StefanPendl on Mar 1, 2009 4:18:24 GMT -5
|
|