Author Topic: BCX Help Version 7.4.5, February 21 2020  (Read 498 times)

Robert

  • Full Member
  • ***
  • Posts: 246
    • View Profile
BCX Help Version 7.4.5, February 21 2020
« on: February 21, 2020, 11:14:26 AM »
BCX Help Version 7.4.5, February 21 2020 

is available as BCXHelp Version 7.4.5 20200221.zip
in the Announcements section of the BCX forum at

https://bcxbasiccoders.com/smf/index.php

Changes include
 
Kevin Diggins

... added an important note to the LINE INPUT page stating that "It is important to note that the receiving string variable must be a statically dimensioned string variable - it cannot be a dynamically dimensioned string because BCX's current translation emits the compile-time C operator "sizeof" which does not work for determining the number of bytes that a dynamically dimensioned string can hold.

MrBcx

  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
    • View Profile
Re: BCX Help Version 7.4.5, February 21 2020
« Reply #1 on: February 21, 2020, 12:05:09 PM »
Thanks Robert ... that was speedy of you!

jcfuller

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
Re: BCX Help Version 7.4.5, February 21 2020
« Reply #2 on: February 21, 2020, 12:09:23 PM »
  I'm confused a bit.
The "c" translation of Line Input is the same with bcx 7.4.5 as it has always been.

fgets(a, 1048576, fp1);

James

MrBcx

  • Administrator
  • Sr. Member
  • *****
  • Posts: 283
    • View Profile
Re: BCX Help Version 7.4.5, February 21 2020
« Reply #3 on: February 21, 2020, 12:44:25 PM »
  I'm confused a bit.
The "c" translation of Line Input is the same with bcx 7.4.5 as it has always been.

fgets(a, 1048576, fp1);

James

https://bcxbasiccoders.com/smf/index.php?topic=143.0

jcfuller

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
Re: BCX Help Version 7.4.5, February 21 2020
« Reply #4 on: February 21, 2020, 01:38:06 PM »
Ok my bad. I thought it was for both keyboard and file.

James