Include [User Program Function]

Include [User Program Function] - Include [User Program Function] - Messaggi

#1 Pubblicato: 16/04/2016 09:29:14
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1554 volta(e).
Genfit Algo Include Test.sm (16,32 KiB) scaricato 1507 volta(e).



Jean
1 utenti hanno apprezzato questo post
Mike Kaganski 16/04/2016 09:38:00
#2 Pubblicato: 16/04/2016 09:38:34
Mike Kaganski

Mike Kaganski

184 apprezzamenti in 434 post.

Gruppo: User

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

Ruben Sidranski

17 apprezzamenti in 465 post.

Gruppo: 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) scaricato 1570 volta(e).The directory change in this one is the critical one if I understand it correctly.
Genfit Algo Include.sm (14,03 KiB) scaricato 1509 volta(e).
#4 Pubblicato: 18/04/2016 14:05:10
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 18/04/2016 15:27:03
Ruben Sidranski

Ruben Sidranski

17 apprezzamenti in 465 post.

Gruppo: User

Wrote

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

My files are set up by projects.
  • Nuovi post
  • Nessun nuovo post