![]() ![]() The old name `newarray`, however, is still supported so that you do not have to change your code. The `newarray` option for functions `map`, `select`, `remove, `selectremove` has been replaced by the `reshuffle` option, providing the same functionality.With a table array, by passing the new 'reshuffle' option, both `subs` and `subsop` will no longer leave holes when deleting values from it, so a subsequent call to `tables.entries` is unnecessary.When indexing a table with a range, such like `t`, Agena now tries to put the subtable elements into the array part instead of the hash part of the subtable, making internal traversal easier, especially for `tables.reshuffle` which sometimes put elements in the wrong order.Thus, Agena now behaves like Maple in this situation, making porting code much easier. When indexing a table with a range `t`, and the lower bound a greater than the upper bound b, then Agena now returns an empty table instead of throwing an error.Agena is an easy-to-learn procedural programming language suited to be used in scientific, educational, linguistic, and many other applications, including scripting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |