Comments (6)
It's about the same. You can look at, for example the LIFE package. You just loop, drawing what you want to draw, it's polite to put a (BLOCK)
in the loop, or not much else will run, and you continue until, say, (KEYDOWNP 'X)
or, another example, until (SHIFTDOWNP 'SHIFT)
from medley.
(OPENWP window)
will tell you if the window has not been closed. You can put a SHRINKFN
and EXPANDFN
property on the window (with WINDOWPROP
) in order to get control, to, say, suspend/resume (vs. quit) when the user shrinks or expands the window you're running in. If you want to just run from an exec you don't need to worry about adding a process to handle it -- it will run until either it quits on its own (e.g., because you set it up to notice the window closed, or some key was touched) or it gets interrupted by control-E (or forced into a break to debug it, or ...). If you want, you can have the function that starts everything get a window from the user (CREATEW)
and then (ADD.PROCESS '(form to be executed))
and just return.
from medley.
Thank you for your response, it will give me a starting point.
from medley.
@RyanBurnside I wonder if the Medley Primer https://interlisp.org/documentation/Medley-Primer.pdf was close as a better starting point?
from medley.
@nbriggs
I've had some downtime to tackle this and learn a bit more.
I'm not quite sure how to gain more information on this PILOTBBT (record?).
I'm not sure if it needs to be imported or what. Happy to help out though and maybe write a small tutorial when finished.
from medley.
We've reorganized the web site and cataloged some of the available documentation; have you looked in
https://interlisp.org/software/using-medley/
A lot of things need updating to 2024. In your screenshot try (FILESLOAD LIFE) (it's an Interilsp NLAMBDA function(from CL point of view, a macro). The (create PILOTBBT) is an indication (a) you're running Life interpreted, which is a lot slower than running compiled, and (b) you need to
(FILESLOAD (SOUCE) SYSEDIT) which will load in low-level system declarations.
from medley.
Related Issues (20)
- FLUsHOUTPUT in a background task? HOT 5
- Some Bibliography links to PDF files seem to be rewritten by target server HOT 5
- Problems with Swiss German keyboard (W11 WSL Ubuntu 24.04) HOT 3
- TEDIT.HARDCOPY will hang forever if called from XCL EXEC but not so from INTERLISP EXEC HOT 1
- Updating the Medley IRM HOT 1
- Selection includes an image object, typing meta-F causes a break under SEL.AS.STRING HOT 5
- Installing and using Medley for DOS HOT 18
- Linking experimental Medley versions on the project site
- IL:PRINT-LISP-INFORMATION is out of date. Consider adding git information. HOT 1
- Maiko SDL code for SDL3 requires update for release version of SDL3 3.1.2
- Linux script for viewing TEdit files HOT 1
- https://twitter.com links should be replaced by https://x.com links.
- Bad url in interlisp.org web page for sodipodi-0.dtd
- Consider adding releases, issues opened/closed, etc. to the News and Status Reports section of interlisp.org
- Fix Hugo Build & Deploy to correctly generate robots.txt
- NIL is not a non-complex number error when loading VSTATS HOT 3
- Errors when evaluating expressions from H HOT 1
- \TEDIT.COPYINSERTFN is an undefined function error when copying bitmap to TEdit
- mouse cursor tracking becomes slow when the SDL window has another window overlapping it HOT 2
- System greet file for the Venue sysout ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medley.