Invalid decl kind

BlitzMax Forums/BlitzMax Programming/Invalid decl kind

What does this error message mean?

"Invalid decl kind"

It commes if I do the following:

Print(emit_rate/(1000/(MilliSecs()-last_emit)))


the only place I can find mention of this error is in brucey's maxmods:

http://code.google.com/p/maxmods/source/browse/trunk/appstub.mod/debugger.stdio.bmx

Dunno but that code is a 'division by zero' error waiting to happen. Which might be related to the trouble you're having, actually...

You're right GfK. Now it's working after I'm using a float. Thx