-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load cannot be called twice in one block #53
Comments
Hi vkichline, I'm having trouble reproducing this. |
Esp32Forth on a variety of chips. Load is just: block 1024 evaluate, so if the loaded block contains a load, there is no way to continue at the next statement once the inner load is completed. gForth and others maintain a list to unwind.
On Feb 24, 2024, at 10:57 AM, Brad Nelson ***@***.***> wrote:
Hi vkichline,
I'm having trouble reproducing this.
Which platform are you seeing this on?
—
Reply to this email directly, view it on GitHub<#53 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABCSFDWC7CJHPEKALKMUMITYVIZZHAVCNFSM6AAAAAAY3T6HQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGU2DGOJZGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Here is a proposed repo case:
Screen 1:
.” Screen 1” cr
2 load
.” Required: print this line.” Cr
Screen 2:
.” Screen 2” cr
———
Expected:
Screen 1
Screen 2
Required: print this line.
Actual:
Screen 1
Screen 2
On Feb 24, 2024, at 12:28 PM, Van Kichline ***@***.***> wrote:
Esp32Forth on a variety of chips. Load is just: block 1024 evaluate, so if the loaded block contains a load, there is no way to continue at the next statement once the inner load is completed. gForth and others maintain a list to unwind.
On Feb 24, 2024, at 10:57 AM, Brad Nelson ***@***.***> wrote:
Hi vkichline,
I'm having trouble reproducing this.
Which platform are you seeing this on?
—
Reply to this email directly, view it on GitHub<#53 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABCSFDWC7CJHPEKALKMUMITYVIZZHAVCNFSM6AAAAAAY3T6HQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGU2DGOJZGU>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If block 1 of blocks.fb contains the following code, it works as expected:
2 3 thru
If, on the other hand, it contains the following, only block 2 is loaded:
2 load 3 load
Expected: both block 2 and block 3 should be loaded.
Why it matters: I want block 1 to be a system load block, essentially configuring my system. Typically I load several individual blocks and several series of blocks using load and thru repeatedly in block 1. This makes a Forth system very flexible.
The text was updated successfully, but these errors were encountered: