Bug?
#4
(03-18-2023, 02:11 PM)TerryRitchie Wrote: Test is a subroutine and does not require the parenthesis to surround b$() when calling it.

test b$() ' Not test (b$())

SUB test (B$())
    PRINT "Hi"
END SUB

Color me learned !!!

'Call test b$()'  does not work without the parenthesis, but  'test b$()' = works ??  Interesting...I have always surrounded with parenthesis since when you use the 'Call' they have to be there.
Reply


Messages In This Thread
Bug? - by dano - 03-18-2023, 01:58 PM
RE: Bug? - by dbox - 03-18-2023, 02:10 PM
RE: Bug? - by dano - 03-18-2023, 02:41 PM
RE: Bug? - by dbox - 03-18-2023, 02:52 PM
RE: Bug? - by TerryRitchie - 03-18-2023, 02:11 PM
RE: Bug? - by dano - 03-18-2023, 02:39 PM



Users browsing this thread: 1 Guest(s)