Import Code vs Include Code
- Posted by euphoric (admin) Sep 23, 2019
- 1113 views
Does Euphoria have a provision for importing source directly into a namespace/scope?
For example:
-- mycode.e if length(mySeq) then puts(1,"Yes I can!") end if -- main.e string mySeq = "Can you see me?" import mycode.e -- pull this code as though it exists right here so it can see mySeq