Well the question is straightforward. I want to know if declaring variables inside procedures is a okay thing to do. like this for example:
SAMPLE PROC NEAR
; PROC BODY
RET
VARIABLE DW 0000H
SAMPLE ENDP
I don't think this should be an error. As RET is available at the end. What I want really to do is have an array of constants that is required for the PROC. Some sort of look up table.
If it is not legal, I would like to know why.