SmallBASIC doesn't have MID statement

QuoteSmallBASIC doesn't have MID statementB++ from where you digg this statement ?

s = "Hi Aurel how many + do you have?"s = replace(s, instr(s, "+"), "++++", 1)? s

s$ = "Hi Aurel how many + do you have?"MID$(s$, INSTR(s$, "+"), 1) = "++++" ' <<<< test MID$ statement in QB64PRINT s$

nItems = 100dim myStuff(nItems -1)for i = 0 to nItems-1 myStuff(i).x = rnd*xmax myStuff(i).y = rnd*ymaxnextmyStuff(50).clr = 12? myStuff(50)

nItems = 10dim myStuff(nItems -1)for i = 0 to nItems-1 myStuff(i).x = rnd*xmax myStuff(i).y = rnd*ymaxnextmyStuff(5).clr = 12? myStuff(5)? ? "Oh here's the square brackets!!"? myStuff

n=10myStuff = () ' or []...they're interchangeablefor pairs = 1 to n myStuff << [int(rnd*xmax), int(rnd*ymax)] ' can be thought of as x,y, without the labelsnextmyStuff(5) << [12] ' Again, lacks your nice labeling.? myStuff(5)?? "Lots of square brackets!!"? myStuff?:? "You can do this:":? "? myStuff(5)(2) ...which gives ";? myStuff(5)(2)? "But '? myStuff(4)(2)' will give out of range error."

? myStuff(5)(2) + 42

? mid(myStuff(5)(2), 2, 2)

Hey cool, looks like you have the key to arrarys within arrays within...It's a bracket racket!