[code] [textadept] Required Modules

From: Qwerky <mr.qwerky.att.gmail.com>
Date: Wed, 14 Aug 2019 14:10:47 -0600

Hi.  If the user init.lua requires a module [foo = require('foo')] which
has a function 'bar', is that module and its function then available to
all other modules?

So, in keys.lua, can one write 'keys.ab = foo.bar'?  Or, does 'foo' need
to be required in keys.lua, as well as every other module which uses
'foo.bar'?

qwerky

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 14 Aug 2019 - 16:10:47 EDT

This archive was generated by hypermail 2.2.0 : Thu 15 Aug 2019 - 06:49:01 EDT