Author Topic: BYTE_AT Macro  (Read 472 times)

Robert

  • Hero Member
  • *****
  • Posts: 1163
    • View Profile
BYTE_AT Macro
« on: December 03, 2022, 04:22:19 AM »
Check out the BYTE_AT macro which is used for referencing, by pointer, a location in a string element of an array of strings. Details here

https://bcxbasiccoders.com/webhelp/html/variables.htm#byte_at

The BYTE_AT macro has now been added to the BCX Documentation index, after having been overlooked when it was introduced in BCX 7.9.1.
« Last Edit: December 03, 2022, 01:11:19 PM by Robert »

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1966
    • View Profile
Re: BYTE_AT Macro
« Reply #1 on: December 03, 2022, 06:42:39 AM »
Check out the BYTE_AT macro which is used for referencing, by pointer, a location in a string element of an array of strings. Details here
https://bcxbasiccoders.com/webhelp/html/variables.htm#byte_at
The BYTE_AT macro has now been added to the BCX Documentation index, after having been overlooked when it was introduced in BCX 7.9.0.

Thanks Robert.  BYTE_AT is an important and useful macro to be aware of.

For readers who may not have noticed it at the time, BYTE_AT was announced in BCX 7.9.1 and
is an outgrowth of my sigil handling improvements. In fact,  BYTE_AT is used by the BCX translator
starting with that version and has done its job quite well.  Here is my July 11, 2022 announcement:

https://bcxbasiccoders.com/smf/index.php?topic=744.msg3559;topicseen#msg3559