|
|
> While it might not be very clear from the documentation (it should
> perhaps be), the SDL and the user-defined functions are basically two
> completely different and independent languages. They somewhat resemble
> each other, but the user-defined functions are basically a language
> inside the SDL, not SDL itself. They are even interpreted at
> completely different levels. For this reason not everything that
> works in the SDL works in the user-defined functions.
> You can create the body of a user-defined function using SDL, but
> that's just kind of user-defined function metaprogramming, that is,
> a program (in a different language) which creates a program (in the
> other language).
Yeah - directives execute at parse time, functions execute at runtime.
I think in this case it's more a question of it not being immediately
obviouse that one construct belongs to one set, and the other belongs to
another... (I only checked the function reference)
Post a reply to this message
|
|