public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* extern in scheme like in C
@ 2023-10-22  8:37 Damien Mattei
  2023-10-22 15:21 ` Per Bothner
  0 siblings, 1 reply; 2+ messages in thread
From: Damien Mattei @ 2023-10-22  8:37 UTC (permalink / raw)
  To: kawa mailing list

does it exists in Scheme and kawa a way to 'extern' a variable?
i need to access a variable of the main file from a module or from both

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: extern in scheme like in C
  2023-10-22  8:37 extern in scheme like in C Damien Mattei
@ 2023-10-22 15:21 ` Per Bothner
  0 siblings, 0 replies; 2+ messages in thread
From: Per Bothner @ 2023-10-22 15:21 UTC (permalink / raw)
  To: Damien Mattei, kawa mailing list



On 10/22/23 01:37, Damien Mattei via Kawa wrote:
> does it exists in Scheme and kawa a way to 'extern' a variable?
> i need to access a variable of the main file from a module or from both

The is 'import' and 'export' (or ''module-export').
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-22 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-22  8:37 extern in scheme like in C Damien Mattei
2023-10-22 15:21 ` Per Bothner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).