I don’t like the redundancy of push and enqueue, but I do agree that a first-in-first-out function (as opposed to the last-in-first-out nature of Pop) would be welcome.
Kem’s right in that they’ve never done this before (make an “alias” of a keyword). However, there are a number of places where this might be useful especially for beginners. For example, “addressof.” I believe this is the only place where Xojo talks about addresses. It might be easier for a novice to see “dothis:” or “using:”.
Then just add the methods yourself in a global module using the Extends keyword. This lets you add your own methods with whatever logic / naming you want – even if all the method does is an addRow or pop or whatever.
If you use a generic name like “push” or whatever you have the potential for a naming conflict if Xojo ever introduces that same name in the future. Some people like to add a prefix or suffix to help minimize name collisions.
I thought of that, but arrays can hold anything. I’m not sure (never tried) to do an Extends where it would work with anything. I wouldn’t want to create methods for all sorts of datatypes.