Thanks John.

I somehow mis-remembered  that  this had worked on Linux before
and became convinced there was a windows issue. 

sigh ... my memory errors got  the best of me again. 

On Tuesday, February 2, 2021 at 6:40:45 PM UTC-5 johnbclements wrote:

> In order to allow static compilation, the path in a (file …) require must 
> be a literal string. 
>
> It sounds like you might be looking for “dynamic-require” ?
>
> Apologies if I’m misunderstanding you.
>
> John Clements
>
>
> > On Feb 2, 2021, at 3:20 PM, [email protected] <[email protected]> wrote:
> > 
> > I can't seem to build paths the way require wants them on windows. 
> > 
> > I must be missing something basic.
> > 
> > Tried a bunch of things (can't remember them all), here's the last: 
> > (Racket versions 8.0.0.4--2021-02-01 and 7.8)
> > 
> > (define wrk_dir #"C:/Temporary/zDEL3/TEST_BATCH/")
> > (require(file(bytes->string/utf-8(bytes-append wrk_dir 
> #"vend_map.rkt"))))
> > 
> > 
> > 
> > . file: ill-formed module path in: (file (bytes->string/utf-8 
> (bytes-append wrk_dir #"vend_map.rkt")))
> > > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected].
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/92dea514-f8f7-49f2-bf5a-1799430cd4bfn%40googlegroups.com
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/78fb3b26-70c9-44d6-b9ab-907a09457a5cn%40googlegroups.com.

Reply via email to