The APL game is under development at http://APLGAME.COM. This game will be multi-user and help promote the basics of APL programming.
[ATTACH=CONFIG]n20[/ATTACH]
[ATTACH=CONFIG]n20[/ATTACH]
∇ Render req;html;⎕TRAP;z :Access Public ⍝⍝⎕TRAP←0 'S' DoAction ⍝ If a button was pressed, deal with it L←Loaded='\' ⋄ L←L/⍳⍴L ⋄ L←¯1↑L html←'<H1>Editing File ',(L↓Loaded),'</H1>' html,←('Action'Submit'Save'),' ',('Action'Submit'Reload') html,←(0≠⍴Message)/'<br><br>',Message,'<br>' html,←'Contents'MultiEdit(40 80)Contents'class=apl' ⍝ An "Edit" called "Name" containing the Name html,←'<br><br>' html←req('post'Form)html ⍝ Put a 'submit' form around it req.Title'Editing File ',(L↓Loaded) req.Return html ∇
Comment