# Picking Up Semicolons in FLEX?

**URL:** <https://forum.kirupa.com/t/picking-up-semicolons-in-flex/244940>\
**Category:** Uncategorized\
**Created:** [November 23, 2007, 8:37pm UTC](https://forum.kirupa.com/t/picking-up-semicolons-in-flex/244940 "2007-11-23T20:37:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvidia](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@nvidia](https://forum.kirupa.com/u/nvidia)\
**Post date:** [November 23, 2007, 8:37pm UTC](https://forum.kirupa.com/t/picking-up-semicolons-in-flex/244940/1 "2007-11-23T20:37:16Z")

</div>

Hi, i have made a simple .as file in flex with the code below:

```auto

 
package {
 import flash.display.Sprite;
 public class ProgrammingBasic extends Sprite
 {
  public function ProgrammingBasic()
  {
   var test:Number=9
   trace(test)
  }
 }
}

```

As you can see after the value 9 and the trace statement, there are no semi-colons. When i debug the file, it runs fine outputting the value, however what i don’t understand is why does it not pick the fact that **there should be** a **semicolon** at the end of each statement. Nearly all programming languages like Java would see this as being **systax error** or something like that. Can somebody tell me why it does not pick this up even though it runs the file perfectly?

Should this even happen? Or is this part of the coding standard?
