Include [User Program Function]

Include [User Program Function] - Include [User Program Function] - Messages

#1 Posted: 4/16/2016 9:29:14 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 KiB) downloaded 60 time(s).
Genfit Algo Include Test.sm (16 KiB) downloaded 57 time(s).



Jean
1 users liked this post
Mike Kaganski 4/16/2016 9:38:00 AM
#2 Posted: 4/16/2016 9:38:34 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

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

Ruben Sidranski

17 likes in 463 posts.

Group: 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 KiB) downloaded 56 time(s).The directory change in this one is the critical one if I understand it correctly.
Genfit Algo Include.sm (14 KiB) downloaded 54 time(s).
#4 Posted: 4/18/2016 2:05:10 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 4/18/2016 3:27:03 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Wrote

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

My files are set up by projects.
  • New Posts New Posts
  • No New Posts No New Posts