08-08-2022, 03:28 PM
I've got a simple example working, but I'D STRONGLY DISCOURAGE using CHAIN
chain1.bas
chain2.bas
I ran from the IDE but had to compile chain2.bas to an exe (F11) to get it working
With both exe's I could just start chain1.exe
chain1.bas
Code: (Select All)
Common Shared a
a = 3
Print "CHAIN 1", a
Chain "chain2"
chain2.bas
Code: (Select All)
Common Shared a
Print "CHAIN 2", a
I ran from the IDE but had to compile chain2.bas to an exe (F11) to get it working
With both exe's I could just start chain1.exe
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience