when run script says
microsoft vbscript runtime error '800a01f5'
illegal assignment: 'max_age'
/classic.asp, line 8
this script:
response.write(getmaxage()) function getmaxage() const max_age = 50 dim irtnvalue max_age = 45 irtnvalue = max_age getstudentage = irtnvalue end function
you returning getstudentage instead of getmaxage. mean "getstudentage = irtnvalue"
Comments
Post a Comment