that's interesting! Wish I could find the documentation about how long the var index is allowed. In the current help for 19.4.2 I can't find any specs.
May I also suggest to disclose always the OS and FM version used when exploring?
Thanks!
(Maybe someone has a link to official documentation about Tech specs?)
Historically in previous versions FM did say a limit on repetitions was something like 32567 (or thereabouts I can't remember the exact number). That was repetitions in a field but I don't know about variables.
We use this technique to hash something like text, to correlate to a repetition in a variable so we can store information (in this case about a window) and retrieve it again.
I don't know what FileMaker is doing under the hood with the very large repetition numbers to be honest, but we've never had an issue using this technique.
That same document also says the maximum number of repetitions for variables is much larger: 10^400
I think that is still true. It allows for obviously very large numbers, which people have used for the “names buckets” technique, where some identifier is hashed to get a numeric address, and the value stored in that repetition of a variable, global or local. Very useful.
thanks for the link - not sure if the list is correct and definitely incomplete though - recursion limit can be extended with FM18 SetRecursion function which is 'buggy' ..
also still Substitute function with generic argument list is limited to 999 bracketed argument pairs.
how about script results and script parameters and SQL statement length ?? (bottle necks everywhere)