website logo
Auteur
avatar
sinisrus

Forum » » Création-Développement » » fonction or() rxmui


Posté : 19-07-2013 16:00 icone du post

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

Cet article provient de Le site des utilisateurs francophones actuels et futurs d'AmigaOS 4.x
https://amiga-ng.org/viewtopic.php?topic=1598&forum=14