Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print42() to allow CR chr$(13)
#1
Trying to use CHR$(13) in print42() and it is ignored - could this be implemented please?


Thanks
Reply
#2
(09-03-2021, 11:16 PM)RandomiserUsr Wrote: Trying to use CHR$(13) in print42() and it is ignored - could this be implemented please?


Thanks


PRINT42 understands CHR$(13) and also CHR$(22) + CHR$(y) + CHR$(x) (AT y, x).

Code:
#include <print42.bas>

print42("Hello" + chr$(13) + "world")

Can you post your code so I can see what's not working? Rolleyes

Thx!
Reply
#3
On careful examination it appears it is working. I refactored a routine and added in CHR13 without thinking of the consequences of doing so.
Refactored again and now working as expected.

Thank you Boriel
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)