Author Topic: Mild issue with brackets.  (Read 604 times)

0 Members and 1 Guest are viewing this topic.

Brian Alvarez

  • Hero Member
  • *****
  • Posts: 653
    • PluriBASIC
Mild issue with brackets.
« on: July 24, 2019, 01:06:23 PM »
 Hello Charles, i am finally playing with sound and music. Everything works flawless now. Its a joy to program like this!!

 But i found a small issue with brackets, its not too severe and there are ways to work around it, but i figured you would
want to tackle it.

This works:
Code: [Select]
FUNCTION TESTFUNC(ASCIIZ nret[0]) AS STRING
END FUNCTION

print TestFunc("Hello" + " World", 0)

This doesnt compile:
Code: [Select]
FUNCTION TESTFUNC(ASCIIZ nret[0]) AS STRING
END FUNCTION

print TestFunc(bycopy ("Hello" + " World"), 0)