a short notes on Structure words.
Answers
Answered by
3
the word structure are alwas used in pairs.in the text between them, the top-of-stack hold a value that is both the size of -structand the current-offset.
Answered by
0
The words STRUCTURE and ENDSTRUCTURE are always used
in pairs. In the text between them, the top-of-stack
hold a value that is both the sizeof-struct and the
current-offset. ENDSTRUCTURE will save the last value in
the "structname" parameterpart CREATEd by STRUCTURE,
and SIZEOF will fetch the value from the "structname"
(so, SIZEOF is state-smart).
in pairs. In the text between them, the top-of-stack
hold a value that is both the sizeof-struct and the
current-offset. ENDSTRUCTURE will save the last value in
the "structname" parameterpart CREATEd by STRUCTURE,
and SIZEOF will fetch the value from the "structname"
(so, SIZEOF is state-smart).
Similar questions