# How do i create a simple flash counter?

**URL:** <https://forum.kirupa.com/t/how-do-i-create-a-simple-flash-counter/228023>\
**Category:** Uncategorized\
**Created:** [June 4, 2007, 6:33pm UTC](https://forum.kirupa.com/t/how-do-i-create-a-simple-flash-counter/228023 "2007-06-04T18:33:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtrace](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@dtrace](https://forum.kirupa.com/u/dtrace)\
**Post date:** [June 4, 2007, 6:33pm UTC](https://forum.kirupa.com/t/how-do-i-create-a-simple-flash-counter/228023/1 "2007-06-04T18:33:58Z")

</div>

I am wondering how to create a basic flash counter.

As in, when something happens, I want a variable to equal 1, and then, if something else happens, I want that same variable to then be 2.

Etc .etc.

I think there is something to do with ++ , but I’m unclear about the syntax.

??? help please?
