You never CALL - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: You never CALL (/showthread.php?tid=1213) Pages:
1
2
|
RE: You never CALL - Kernelpanic - 12-01-2022 Hello Betty, for me it is important to clearly show what is happening. The usual exception is when I call a function as an argument to a function, there would be Call be kind of out of place. Code: (Select All) Option _Explicit RE: You never CALL - Pete - 12-01-2022 Betty didn't see that coming... Pete RE: You never CALL - mnrvovrfc - 12-02-2022 A bit later someone will arrive whose first post on the forum involves a surprising amount of parenthesis on what is supposed to be only one parameter to pass to a subprogram. "CALL" only adds to that confusion -- to use it or not to use it? But M$QB allowed the parenthesis, what's up with QB64(PE) now, isn't it supposed to be compatible? Sigh... The title of the topic should be : "YOU NEVER CALLS", because that other one is pretty much non-existent. Hooray for QB64(PE) able to inject C/C++ code through "dot-h" files. One more thing. I don't like the hating on "LET". It's not needed but it's better not to discuss it because it encourages even more speculation about what BASIC dialect might be better than another. RE: You never CALL - mnrvovrfc - 12-02-2022 (12-01-2022, 11:16 PM)Kernelpanic Wrote: Hello Betty, for me it is important to clearly show what is happening. The usual exception is when I call a function as an argument to a function, there would be Call be kind of out of place.Which doesn't actually work on QB64PE... yet. A function will always require parenthesis around its entire parameter list. Much harder to make it like Lua with only one parameter, but except for table I religiously put the parenthesis. Code: (Select All) tu = table_create() The "table_create()" is a function I wrote in Lua, part of a "library" that I use a lot. LOL Atlanta Braves could keep Dansby Swanson but lose Coca-Cola, how dare those idiots say they invented Christmas, GRRRRR! (put cussing emoticon here from other forum) |