Datatype is just an attribute.
The variable does NOT have to be in a frame, as suggested. If you wish to DISPLAY value then that must. Though you can access the value (data) from anywhere, at any time. It is simply an attribute. You then may wish to perform action on the type and not...