Import Code vs Include Code

new topic     » topic index » view thread      » older message » newer message

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 
new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu