BadLimit
#2
Thumbs Up 
I have written something similar for Lua, along the lines of:

Code: (Select All)
tbl = table_fill("5 to 100 by 5")
tbl2 = table_fill("2;50;2")

Now I have to look at my own code to find out if I also supported an offset to add.
The "table_fill()" created a table (array) having elements with the requested values. The request was made inside a string. It also shuffled the elements of the table but it was a frill I added.

If the "BadLimit" isn't going to be part of QB64PE or a separate BASIC-like interpreter, why set a "default" value if another value is assigned on RHS?
Reply


Messages In This Thread
BadLimit - by SMcNeill - 12-16-2022, 03:50 AM
RE: BadLimit - by mnrvovrfc - 12-16-2022, 11:01 AM
RE: BadLimit - by SMcNeill - 12-16-2022, 12:03 PM
RE: BadLimit - by SpriggsySpriggs - 12-21-2022, 02:53 PM
RE: BadLimit - by SMcNeill - 12-21-2022, 03:20 PM
RE: BadLimit - by mnrvovrfc - 12-21-2022, 03:53 PM
RE: BadLimit - by SpriggsySpriggs - 12-21-2022, 04:06 PM
RE: BadLimit - by SpriggsySpriggs - 12-21-2022, 04:25 PM
RE: BadLimit - by SMcNeill - 12-29-2022, 10:40 AM
RE: BadLimit - by MrCreemy - 12-29-2022, 06:31 PM



Users browsing this thread: 3 Guest(s)