Statistical Distributions

Statistical Distributions

June 1983 | Robert E. Wheeler
The passage discusses an innovative application of semicolon notation for passing multiple parameters to a defined function. Currently, nested-array implementations require an array to be passed as a single argument, which is then split inside the function. For example, the function `FOO` can be called with parameters `X`, `Y`, and `Z` using the strand notation: ``` FOO X Y Z ``` The function `FOO` can then split the argument: ``` v FOO R1A;R;C [1] A B C+R [2] ... ``` This suggests a different approach where the semicolons in the function header indicate that the items in the nested array argument should be assigned as the initial values of the local variables `A`, `B`, and `C`. The function `FOO` could be defined more simply: ``` v FOO A;B;C [1] ... ``` The author concludes by expressing hope that the ideas presented are interesting and welcomes further comments and feedback. The epilogue includes a quote from W.C. Fields, emphasizing the importance of taking risks and trying new things.The passage discusses an innovative application of semicolon notation for passing multiple parameters to a defined function. Currently, nested-array implementations require an array to be passed as a single argument, which is then split inside the function. For example, the function `FOO` can be called with parameters `X`, `Y`, and `Z` using the strand notation: ``` FOO X Y Z ``` The function `FOO` can then split the argument: ``` v FOO R1A;R;C [1] A B C+R [2] ... ``` This suggests a different approach where the semicolons in the function header indicate that the items in the nested array argument should be assigned as the initial values of the local variables `A`, `B`, and `C`. The function `FOO` could be defined more simply: ``` v FOO A;B;C [1] ... ``` The author concludes by expressing hope that the ideas presented are interesting and welcomes further comments and feedback. The epilogue includes a quote from W.C. Fields, emphasizing the importance of taking risks and trying new things.
Reach us at info@study.space