Include [User Program Function]

Include [User Program Function] - Include [User Program Function] - Mensajes

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1549 vez(es).
Genfit Algo Include Test.sm (16,32 KiB) descargado 1501 vez(es).



Jean
A 1 usuarios les gustó este mensaje
Mike Kaganski 16/4/2016 9:38:00
#2 Publicado: 16/4/2016 9:38:34
Mike Kaganski

Mike Kaganski

184 me gusta en 434 mensajes.

Grupo: User

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

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: 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) descargado 1566 vez(es).The directory change in this one is the critical one if I understand it correctly.
Genfit Algo Include.sm (14,03 KiB) descargado 1502 vez(es).
#4 Publicado: 18/4/2016 14:05:10
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 18/4/2016 15:27:03
Ruben Sidranski

Ruben Sidranski

17 me gusta en 465 mensajes.

Grupo: User

Wrote

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

My files are set up by projects.
  • Nuevos mensajes
  • Sin mensajes nuevos