dizietemblesssma Posted August 25, 2020 Share Posted August 25, 2020 For debugging purposes, I wish to display the name of a function parameter, not its value.In this instance the function takes as a parameter a formlist, a simplified form of the function would startFunction dz_toggle_outfit(FormList outfits_array) the function is called from several mcm menu toggle events and I need to know that the correct parameter is being passed to the functionHowever if i try:debug.messagebox("outfits_array is "+outfits_array as string) I still get a list of the formlist items as strings. If the function is called as eg. dz_toggle_outfit(snowy_outfits[2])(snowy_outfits[] being an array of formlists)then I would like a debug statement in the dz_toggle_outfit function to display "snowy_outfits[2]" How can I do this? diziet Link to comment Share on other sites More sharing options...
IsharaMeradin Posted August 26, 2020 Share Posted August 26, 2020 I don't think you can do this. At least I have never seen anything like that before. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted August 26, 2020 Author Share Posted August 26, 2020 Pity, never mind.I've started another thread which might help me debug another way.Thanks diziet Link to comment Share on other sites More sharing options...
Recommended Posts