12-02-2022, 12:23 AM
(This post was last modified: 12-02-2022, 12:26 AM by mnrvovrfc.
Edit Reason: LOL sometimes I forget Lua syntax
)
(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()
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)