DataSection Improvements: Allow Vars Adrress Too
Posted: Sat Nov 25, 2017 6:38 pm
It would be nice if it was possible to put in DataSections also vars address, not just procedures and labels addresses:
So that those vars' pointers can be read and used to acces and manipulate them.
This would allow to build loops that manipulate vars via DatasSctions, reducing code size and redundancy.
Currently this can be achived via RunTime (which doesn't support structured variables!), but the above solution might be preferable.
Also, any chances that RunTime lib will support also structured vars in the future?
Code: Select all
DataSection
Data.i @SomeStr$
Data.i @SomeVar
EndDataSection
This would allow to build loops that manipulate vars via DatasSctions, reducing code size and redundancy.
Currently this can be achived via RunTime (which doesn't support structured variables!), but the above solution might be preferable.
Also, any chances that RunTime lib will support also structured vars in the future?