Square brackets and curly brackets in expressions?
#10
Is this something that's being considered to be implemented in QB64PE?

Personally, I would find the use of multiple bracket types confusing in the BASIC dialect. Other languages, such as Python, use square brackets to identify constructs such as tuples which set them apart from evaluations. If I remember correctly I believe curly braces were used in Pascal (Delphi) for comment blocks. I don't believe I've ever run across a language that uses a mix of bracket types for evaluations. Again, my personal opinion, but I believe this would cause confusion.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply


Messages In This Thread
RE: Square brackets and curly brackets in expressions? - by TerryRitchie - 02-14-2023, 04:09 PM



Users browsing this thread: 4 Guest(s)