Function 'AddToSpacebarHits' not found.

BlitzPlus Forums/BlitzPlus Beginners Area/Function 'AddToSpacebarHits' not found.

vmars316(Posted 2012) [#1]
Greetings,
BlitzPlus 2D:
In the BPTutorials.html / Global and Local Variables /
There is an example that uses:
; call the function that adds to the iSpacebarHits variable
AddToSpacebarHits()*
But when RUNning it I get an error "Function 'AddToSpacebarHits' not found".
How can I get this Function ?
Thanks...Vernon


vmars316(Posted 2012) [#2]
Oh, I get it, 'just a typo'
I changed 'AddToSpacebarHits' to iSpacebarHits=iSpacebarHits + 1
Thanks...vm


vmars316(Posted 2012) [#3]
Oops!
I missed the code:
Function AddToSpacebarHits()
iSpacebarHits = iSpacebarHits + 1
End Function
...vm