# I want know what this script mean

**URL:** https://forum.kirupa.com/t/i-want-know-what-this-script-mean/295685
**Category:** Uncategorized
**Created:** [September 3, 2009, 12:15am UTC](https://forum.kirupa.com/t/i-want-know-what-this-script-mean/295685 "2009-09-03T00:15:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![yuss](https://avatars.discourse-cdn.com/v4/letter/y/4491bb/32.png) [@yuss](https://forum.kirupa.com/u/yuss)
#### Post date: [September 3, 2009, 12:15am UTC](https://forum.kirupa.com/t/i-want-know-what-this-script-mean/295685/1 "2009-09-03T00:15:06Z")

</div>

i want know what mean this script :

(song\_nr==songfile.length-1)? \_global.song\_nr=0 : \_global.song\_nr++;

or we can rewrite script :

if (song\_nr==songfile.length-1){  
\_golbal.song\_nr++  
}else{  
\_gobal.song\_nr=0

}  
is that true …
