Couple of Hollywood Innerworkings questions
Posted: Tue Feb 06, 2024 12:15 pm
1.
If I have:
Is it a problem that I am using same variable "NotInUse" in both cases, when I am not using them?
Naturally if I would name them both as "ID" and be using that ID in the code that might result in unexpected behavior as the Inner Foreach ID would probably override the outer Foreach ID inside the Inner ForEach?
2.
If I have:
And Then I might in program do:
Is there any problem using any of these cases?
If I have:
Code: Select all
ForEach(Tbl1, Function(NotInUse, Content1)
ForEach(Tbl2, Function(NotInUse, Content2)
EndFunction)
EndFunction)Naturally if I would name them both as "ID" and be using that ID in the code that might result in unexpected behavior as the Inner Foreach ID would probably override the outer Foreach ID inside the Inner ForEach?
2.
If I have:
Code: Select all
Function Example(A, B, C)
EndFunctionCode: Select all
Example()
Example(1, 2)
Example(1, 2, 3, 4)