Why can I run the file except main file

I use scheme language .I creat several files in a repl. However, only main file can run.

Hey, @poling welcome to the forums.

Can you please provide us with a link to the repl?

Thanks a lot.

Hi @poling thanks for sharing a link.

Replits by default will always run the main file. However there is a settings file that you can change if needed.

I clicked on the ellipsis at top right of the files section and then clicked “show hidden files”. Then you can see the config files. I clicked on the .replit file to show the settings you can see in the image below.

You should be able to change line 1 to run the file you need to. Hope this helps.

1 Like

Wow! That’s what I wanted to know too.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.