Encountering strange or obscure syntax is not uncommon when coding a program or working on a windows app development project. You might come across these codes from time to time. Interestingly, Alister Christie of Learn Delphi TV recently discovered another obscure yet interesting syntax that has something to deal with square brackets. In programming, brackets are all part of the syntax of the language.

Square brackets, in particular, are used to index (access) elements in arrays and also Strings. Interestingly, according to this Learn Delphi video, there is actually an alternative method. This video will demonstrate how not to use square brackets to use arrays. Instead, of square brackets, you can substitute them with dots and open and close parentheses. Feel free to watch the tutorial above and see how this obscure syntax works.


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free TrialUpgrade Today

Free Delphi Community EditionFree C++Builder Community Edition