About: How to Use Counters   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Add a 10XX block, although counters can be in 04XX, most of the time they will be done in 10XX blocks. Counters count upwards, so they start at 0, and go to infinity (well, fine, not really infinity). Many times you will use counters simply as delay elements, so things don’t keep happening and there are pauses.

AttributesValues
rdfs:label
  • How to Use Counters
rdfs:comment
  • Add a 10XX block, although counters can be in 04XX, most of the time they will be done in 10XX blocks. Counters count upwards, so they start at 0, and go to infinity (well, fine, not really infinity). Many times you will use counters simply as delay elements, so things don’t keep happening and there are pauses.
dcterms:subject
abstract
  • Add a 10XX block, although counters can be in 04XX, most of the time they will be done in 10XX blocks. Counters count upwards, so they start at 0, and go to infinity (well, fine, not really infinity). Many times you will use counters simply as delay elements, so things don’t keep happening and there are pauses. First the counter needs to be reset and enabled, by AF and then B1 commands. Then use the command B4 to detect if the counter is greater than a certain value. B5 can also be used to detect if less than a certain value, but generally B4 is more commonly used. In the case below, we check loop until it detects that the counter has exceeded 80, when it does put text on the bottom of the screen, then loop again until the counter has exceeded 180. In this case, we play a sound, then exit the routine.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software