sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Bor Kraljič <pyrobor AT ver.si>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Spell branches
- Date: Tue, 13 Sep 2011 09:06:22 +0200
On 13. of Sep 2011 8:29:54 flux <flux AT sourcemage.org> wrote:
> Bor Kraljič (pyrobor AT ver.si) wrote [11.09.12 23:41]:
> > I have done something like that once for PREPARE for scm versions.
> > However the first problem was that FUNCTIONS are not sourced in PREPARE
> > and also that our goal is to move logic out of spells if possible. And
> > there might be other reason too. Don't really know what the main
> > reason was. But I have done it but never commit it.
>
> To my knowledge, FUNCTIONS isn't sourced anywhere without an explicit
> source line. It's typically sourced in CONFIGURE, since many of the
> functions in FUNCTIONS are for dealing with different queries that
> aren't in sorcery. Thus, if you want the function to be available in
> PREPARE, just source FUNCTIONS in PREPARE. This doesn't cause any
> additional logic to be placed in spells, as the logic is in FUNCTIONS
> (which is a holdover until the functions go into sorcery proper).
I think that discussion was more about function that created part of DETAILS
for scm version.
But yeah. I agree with you. I will take a look at my function and commit it
to
grimoire. (without function for DETAILS) Just for queries.
kind regards,
Bor
-
[SM-Discuss] Spell branches,
Ismael Luceno, 09/11/2011
- Re: [SM-Discuss] Spell branches, David Kowis, 09/12/2011
-
Re: [SM-Discuss] Spell branches,
Bor Kraljič, 09/12/2011
-
Re: [SM-Discuss] Spell branches,
flux, 09/12/2011
- Re: [SM-Discuss] Spell branches, Bor Kraljič, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
Ismael Luceno, 09/13/2011
- Re: [SM-Discuss] Spell branches, Bor Kraljič, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
flux, 09/12/2011
-
Re: [SM-Discuss] Spell branches,
flux, 09/12/2011
-
Re: [SM-Discuss] Spell branches,
Ismael Luceno, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
flux, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
Ismael Luceno, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
flux, 09/13/2011
- Re: [SM-Discuss] Spell branches, Ismael Luceno, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
flux, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
Ismael Luceno, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
flux, 09/13/2011
- Re: [SM-Discuss] Spell branches, Bor Kraljič, 09/13/2011
-
Re: [SM-Discuss] Spell branches,
Ismael Luceno, 09/13/2011
- Re: [SM-Discuss] Spell branches, Bor Kraljič, 09/16/2011
Archive powered by MHonArc 2.6.24.