Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 1
    Put it in the BEGIN statement. Commented Jul 1, 2014 at 13:45
  • Do i place it right after the BEGIN before the first bracket? Commented Jul 1, 2014 at 13:47
  • I placed it in the BEGIN block and I still get the same results. Commented Jul 1, 2014 at 13:51
  • 3
    In general you should provide example input and example output for such questions. Commented Jul 1, 2014 at 14:02
  • 2
    As Hauke said, please always provide input and desired output examples so we can test your code. Commented Jul 1, 2014 at 14:05