You never CALL
#14
(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.  Wink
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()
tu:insert{ user = "mnrvovrfc", status = "depressed", month = "December", reason = "Coca Cola and other grinches LOL" }
print(tu[1].reason .. ", your reason is misguided about C_____mas.")

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)
Reply


Messages In This Thread
You never CALL - by Pete - 12-01-2022, 04:37 PM
RE: You never CALL - by bplus - 12-01-2022, 05:05 PM
RE: You never CALL - by Pete - 12-01-2022, 05:18 PM
RE: You never CALL - by bplus - 12-01-2022, 05:22 PM
RE: You never CALL - by CharlieJV - 12-01-2022, 05:58 PM
RE: You never CALL - by James D Jarvis - 12-01-2022, 07:54 PM
RE: You never CALL - by CharlieJV - 12-01-2022, 08:03 PM
RE: You never CALL - by Pete - 12-01-2022, 08:53 PM
RE: You never CALL - by James D Jarvis - 12-01-2022, 09:11 PM
RE: You never CALL - by Pete - 12-01-2022, 09:53 PM
RE: You never CALL - by Kernelpanic - 12-01-2022, 11:16 PM
RE: You never CALL - by mnrvovrfc - 12-02-2022, 12:23 AM
RE: You never CALL - by Pete - 12-01-2022, 11:24 PM
RE: You never CALL - by mnrvovrfc - 12-02-2022, 12:15 AM



Users browsing this thread: 7 Guest(s)