I have never had any issues with the number of parameters that can be passed to a custom handler. Nor any issue with “seeing” them all in the debugger. I would say that the largest number of params I ever sent was about 15.
Craig > On Jun 6, 2022, at 4:08 PM, Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Thanks Phil. I checked in the debugger both the call to the function where > the 5th value was passed as a literal, and in the function itself where the > parameter was no defined. It may be something with the SE debugger I'll look > into it. > > Bob S > > >> On Jun 6, 2022, at 13:00 , Phil Davis via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> In LC 9.6.7, this works in a button script: >> >> on mouseUp >> tryThis "1", "2", "3", "4", "5", "66", "777", "8888", "9", "10" >> end mouseUp >> >> >> command tryThis >> put the params -- the handler name and all 10 params are there >> end tryThis >> >> >> I often stuff lots of data items into an array and use the array as a param. >> For me, that makes life easier. YMMV. >> >> Phil Davis >> >> >> On 6/6/22 11:45 AM, Bob Sneidar via use-livecode wrote: >>> Is the number of parameters passed to a custom handler limited to 4? I do >>> not seem to be getting a 5th parameter to pass to a function I use. >>> >>> Bob S >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> -- >> Phil Davis >> (503) 307-4363 >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode