J jndaniels1 Member Licensed User Longtime User May 15, 2011 #1 Hi, I just loaded up 1.5 and my project started in 1.3 - But before opening it in 1.50 of B4A I added some empty subs to expand some functions into. I noticed my modules were no longer listed in its tab. I hit run. Of course it came back with a error but i still didn't notice it right off what the problem was. OK. Long story short I had accidentally used braces i.e { } instead of parentheses after my sub. sub ftpupdate {addr As String} ' it doesn't like braces. End sub When I fixed the problem (of course feeling like a donkey) the listings of all the subs returned back in the modules tab. WHEW! Parser error Erel? Or just cool function? Cheers JEFF
Hi, I just loaded up 1.5 and my project started in 1.3 - But before opening it in 1.50 of B4A I added some empty subs to expand some functions into. I noticed my modules were no longer listed in its tab. I hit run. Of course it came back with a error but i still didn't notice it right off what the problem was. OK. Long story short I had accidentally used braces i.e { } instead of parentheses after my sub. sub ftpupdate {addr As String} ' it doesn't like braces. End sub When I fixed the problem (of course feeling like a donkey) the listings of all the subs returned back in the modules tab. WHEW! Parser error Erel? Or just cool function? Cheers JEFF
Erel B4X founder Staff member Licensed User Longtime User May 15, 2011 #2 As you wrote, the parser doesn't like braces. Therefore it didn't find the subs and add them to the list. Upvote 0
As you wrote, the parser doesn't like braces. Therefore it didn't find the subs and add them to the list.