# How is "highscorer" undefined in this code?

**URL:** <https://forum.kirupa.com/t/how-is-highscorer-undefined-in-this-code/221865>\
**Category:** flash\
**Created:** [April 8, 2007, 9:55pm UTC](https://forum.kirupa.com/t/how-is-highscorer-undefined-in-this-code/221865 "2007-04-08T21:55:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blakethefish](https://avatars.discourse-cdn.com/v4/letter/b/ecd19e/32.png) [@blakethefish](https://forum.kirupa.com/u/blakethefish)\
**Post date:** [April 8, 2007, 9:55pm UTC](https://forum.kirupa.com/t/how-is-highscorer-undefined-in-this-code/221865/1 "2007-04-08T21:55:17Z")

</div>

I can’t figure this out yet I’m new to actionscripting… so this should be easy for any veteran…

if (\_global.score \> \_global.highscorer){  
\_global.highscorer == \_global.score;  
}

Thanx

And another quick question:

Do all variables start out at the number 0 in actionscript…? I’m a C++ programmer and not used to actionscript yet.

Thanks for the help…again
