I am studying in my submarine, the technique that Richard had suggested to me long ago* and I was intrigued.
It is probably a trivial thing, but this is the beginners forum, right?

The technique uses a stack on the server as "library" in favor of a .lc file.
I did some tests, but do not understand much. Let me give an example.
1) I build the stack that is called wow.livecode
Code: Select all
function Summy
put 1 + 1 into tSummy
end Summy
Code: Select all
<!doctype html>
<html>
<head>
<title>Summy</title>
</head>
<body>
<?lc
put tSummy
?>
</body>
</html>

I do not understand how to tell to summy.lc that tSummy function is inside the wow stack!
I know, I do not understand anything! But I have so much good will ...
Could someone help me?
Thank you all!
Mariasole
( ^..^)ノ
* [Richard: "But you can keep code in stack files that can be called from .lc files..."] http://forums.livecode.com/viewtopic.ph ... 17#p139749