QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: TempodiBasic on April 10, 2021, 10:33:58 am

Title: Same Name of SUB and FUNCTION is not possible for QB but possible for QB64
Post by: TempodiBasic on April 10, 2021, 10:33:58 am
Hi friends

here I remark a difference (not a bug) between Qbasic/QB45 and our Qb64.
Quote
QB does not accept the same name for a SUB and a Function
otherwise QB64 let use the same name for a SUB and a FUNCTION.
 In fact they have a different parser. We must stress this somewhere in the info about QB64.

Thanks to read

Title: Re: Same Name of SUB and FUNCTION is not possible for QB but possible for QB64
Post by: Ashish on April 10, 2021, 11:13:39 am
Oh cool! I didn't knew this. :)
Title: Re: Same Name of SUB and FUNCTION is not possible for QB but possible for QB64
Post by: FellippeHeitor on April 10, 2021, 11:51:36 am
What are you guys even talking about?

Edit: WHAAAAAAT? I never knew that 😂😂😂😂😂😂😂😂
Title: Re: Same Name of SUB and FUNCTION is not possible for QB but possible for QB64
Post by: bplus on April 10, 2021, 01:05:48 pm
I did know this since 2021-04-08 and TempodiBasic's first post here:
https://www.qb64.org/forum/index.php?topic=3791.msg131507#msg131507

I changed the case of one of the H's in the Half's and the IDE picked right up on that!

Hey @FellippeHeitor, you're back. :)

Who was that other guy sitting in for you?