Include [User Program Function]

Include [User Program Function] - Include [User Program Function] - 消息

#1 已发布: 2016/4/16 09:29:14
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

As long as they both reside in the same working directory.
Download both work sheets, open only the "Genfit Algo Include Test".
The plot is there in < 1 sec. More genfit models are expected.

At any point in a work sheet, same topo to read more user algos.


Genfit Algo Include.sm (13.57 KiB)已下载 1567 次。
Genfit Algo Include Test.sm (16.32 KiB)已下载 1519 次。



Jean
1位用户喜欢此帖子
Mike Kaganski 2016/4/16 09:38:00
#2 已发布: 2016/4/16 09:38:34
Mike Kaganski

Mike Kaganski

184个赞,共434个帖子。

组: User

Everything works great, if you remove "C:\" from include - otherwise it doesn't look at the same directory, but directly at c:\.
С уважением, Михаил Каганский
#3 已发布: 2016/4/18 10:04:01
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Wrote

βNlin() redefined (βNlin() := include() = 4).

Light bulb went off with this comment
I think these would be cleaner Jean. You can put it in any directory.
Genfit Algo Include Test.sm (19.18 KiB)已下载 1580 次。The directory change in this one is the critical one if I understand it correctly.
Genfit Algo Include.sm (14.03 KiB)已下载 1521 次。
#4 已发布: 2016/4/18 14:05:10
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Sure you can put it in any directory, I have only one C: for reasons of hyperfunctionality.
Why should I need zillions of directories if one is enough. Smath is not like rabbits and
wolfes in the same barn. Afer all, Santa has only one carriage.
#5 已发布: 2016/4/18 15:27:03
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Wrote

Why should I need zillions of directories if one is enough.

My files are set up by projects.
  • 有新帖
  • 无新帖