Square brackets and curly brackets in expressions? - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: QBJS, BAM, and Other BASICs (https://staging.qb64phoenix.com/forumdisplay.php?fid=50) +--- Thread: Square brackets and curly brackets in expressions? (/showthread.php?tid=1472) Pages:
1
2
|
RE: Square brackets and curly brackets in expressions? - CharlieJV - 02-14-2023 (02-14-2023, 04:09 PM)TerryRitchie Wrote: Is this something that's being considered to be implemented in QB64PE? G'day Terry, No no no, not for QB64pe, I'm looking into this for BASIC Anywhere Machine. I have a cognitive disability, so I'm experimenting with the addition of squiggly and square brackets in complex expressions. My concern was introducing those in BASIC Anywhere Machine and creating an issue that makes it hard to get a small QB64pe snippet of code working in BASIC Anywhere Machine. (i.e. problems because squiggly and square brackets already have syntactical meaning in QB64pe.) Since the brackets don't have any predefined purpose in QB64pe, I am going ahead. (However ways these brackets are used in other languages, I could not care less: I'm not catering at all to other languages and folk who use other languages; I'm just aiming to stay BASIC with sprinklings of things that aren't veering away too too obscenely from BASIC while fitting my needs vis-à-vis cognitive challenges.) Test version of BAM for anybody who likes to fiddle: https://basicanywheremachine.neocities.org/Test/BAM_IDE RE: Square brackets and curly brackets in expressions? - TerryRitchie - 02-14-2023 Ah, ok, sorry for any confusion I may have introduced. RE: Square brackets and curly brackets in expressions? - CharlieJV - 02-14-2023 (02-14-2023, 04:36 PM)TerryRitchie Wrote: Ah, ok, sorry for any confusion I may have introduced. Pff, no worries, no confusion. I had an immediate "oh crap, folk are thinking this is for QB64pe", "where there's smoke, there's fire" jump into action mode. Reflexes of a sloth over here, so quick-moving is not so much in my DNA. But once in a blue moon ... |