bonjour,
Dans certain script rxmui il y a la fonction or() mais je ne trouve aucune info dessus? google n'est pas mon ami sur le coup :-(
/***********************************************************************/
HandleApp: procedure expose global.
call getattr("app","base","PORTNAME")
ps=PortSignal(portname)
ctrl_c=2**12
do forever
call NewHandle("APP","H",
or(ctrl_c,ps))
if and(h.signals,ctrl_c)~=0 then exit
if and(h.signals,ps)>0 then call HandlePort(portname)
select
when h.event="QUIT" then exit
when h.event="DROPEVENT" then call DropFun(h.from,h.to)
when left(h.event,1)="B" then do
parse var h.event "B" b
say global.url.b.url global.url.b.name
end
otherwise nop
end
end
/* never reached */
/***********************************************************************/
--
Coin coin... amitheme.amiga-ng.org
Sam460 1,15Ghz - OS4.1FE - Radeon Saphir HD7750 R7 250E - 2Go de ram
Message édité par : sinisrus / 19-07-2013 16:01