This is a piece of code i found on the net, i have simplified it as much as it is possible up to my knoweledge.
DestroyFunc EdgeFunction
AddToFunc EdgeFunction
+ I Deschedule 30
+ I Deschedule 31
+ I $*
DestroyFunc ShowPager
AddToFunc ShowPager
+ I All (FvwmPager) Move $0 $1
DestroyFunc SetEdges
AddToFunc SetEdges
+ I Deschedule 30
+ I Deschedule 31
+ I EdgeCommand North EdgeFunction ShowPager m-80p m40p
+ I EdgeCommand West EdgeFunction ShowPager m40p m-80p
+ I EdgeCommand East EdgeFunction ShowPager m-200p m-80p
SetEdges
As i have no use for the separate functions i want to avoid overhead so my target is put them together in one function.
Please can i get some help simplyfie the SetEdges function so i can remove the calls to ShowPager and EdgeFunction (then i will rename Setedges to ShowPager - but that is another story)
It seems that SetEdges is needed to be on Bottom of SetEdges Function - i have trying remove it - without success because i don’t understand what it does there, does the Function call itself.?
I don’t ask you to rewrite the code for me, what i need is some better understanding about the parametercalls.
ps - i hope this code fits under the term “Small pieces of code for inclusion in questions/answers is fine though.”,
/Dante65