Comments (5)
Bumping this, as I want to start implementing this feature shortly. I couldn't make sense out of the my_basic source code myself, otherwise I would have tried to fix it myself. @paladin-t
from my_basic.
from my_basic.
The suspending feature was reserved from a very early version (almost a decade ago) of MY-BASIC. it is obsolete, and not suggested now.
Sorry this doesn't answer the question, but consider using other fiber/setcontext/coroutine lib for a workaround.
from my_basic.
Ah, thanks! For me, I solved the issue by not using suspend / pause at all, but make the Basic execution completely sync and blocking, and then let it run in its own thread. Might not be the optimal solution for anyone, but for me it works!
from my_basic.
closing for now.
from my_basic.
Related Issues (20)
- Function Overloading HOT 2
- Select Case feature
- Vector Workflow HOT 1
- Very slow ops on Strings HOT 2
- Very slow FOR HOT 1
- Spaces on certain keywords? HOT 2
- Type results depends on quotes used HOT 2
- Skipping Iterator variable option HOT 1
- Class member variable default value issue
- Unicode Printing Issue HOT 5
- REM and ENDREM as comment blocks HOT 2
- Crash when setting larger array sizes
- Support functions with and without brackets
- mb_debug_count_stack_frames - undeclared 'l' HOT 1
- Memory leak ? HOT 3
- (Question) Preferred way to use print/input redirect with socket I/0 HOT 1
- Compile error for ESP32S3 in platformio
- NewBee HOT 1
- 2 program chunks not giving the same result HOT 1
- FOR Loop / INT goes wild
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 my_basic.