bcc icon indicating copy to clipboard operation
bcc copied to clipboard

Cannot import modules in included file

Open GWRon opened this issue 5 years ago • 2 comments

main.bmx

SuperStrict Brl.StandardIO
Include "include.bmx"

print Rand(100)

include.bmx

Import Brl.Random

error: Compile Error: Expecting expression but encountered 'import'

directly using the content of "include.bmx" in "main.bmx" works as desired.

GWRon avatar Aug 20 '19 09:08 GWRon