28.01.2015 Views

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

382.5.Front-endProcess callParms.GetLine(Line); ifsizeofLine=0<br />

elseifLine[0]'!' then<br />

blockdeclare removeEscapefromLine[0]; begin callParms.Dispatch(WindowName,Line);<br />

Cmd:Charstring;--comm<strong>and</strong>namefollowing! ifLine[0]='!' then else callParms.Dispatch(WindowName,Line); extractcmdfromLine[0]; select(cmd) where("F") blockdeclare begin FParm:Charstring;--parameterto!F FParm:=tokenizer(Line); callParms.Refocus(FParm);<br />

where("K") to"|FParm|"."); awindow."); endblock; on(WindowInterface.NotFound) callParms.PutLine("!wfe:"|FParm|"not WindowName:=FParm; callParms.PutLine("!wfe:Focuschanged<br />

blockdeclare begin KParm:Charstring;--parameterto!K<br />

where("Q") on(WindowInterface.NotFound) awindow."); endblock; callParms.PutLine("!wfe:"|Kparm|"not callParms.PutLine(Kparm|"killed."); KParm:=tokenizer(Line);<br />

running:='false'; callParms.Kill(Kparm);

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!