Gambit Scheme does not come with modules as standard, for modules like you seem to be describing, you would have to use Black hole, which is an extension of Gambit and needs to be installed and loaded separately or Gerbil Scheme which is built on gambit (so is nearly as fast I guess though I have never used it). Another scheme based on Gambit Scheme with modules is LambdaNative, Which has a unique "external" module system, and is designed mainly for writing mobile applications.
So with files run.scm and test.scm in the same folder.......
Gambit Scheme uses
include
notimport
.Gambit Scheme does not come with modules as standard, for modules like you seem to be describing, you would have to use Black hole, which is an extension of Gambit and needs to be installed and loaded separately or Gerbil Scheme which is built on gambit (so is nearly as fast I guess though I have never used it). Another scheme based on Gambit Scheme with modules is LambdaNative, Which has a unique "external" module system, and is designed mainly for writing mobile applications.
So with files
run.scm
andtest.scm
in the same folder.......run.scm
test.scm
then from the interpreter (gsi)