Dear Pedro
You mark/unmark it with
#define VARIABLE
#undef VARIABLE
and later use as follows
#if VARIABLE
#else
#endif
Please also see p.74 in
https://indico.cern.ch/event/604018/contributions/2435680/attachments/1395445/2242741/05_Basic_Input_2017.pdf
Cheers
Stefan
-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of pedrojluque
Sent: 08 February 2018 13:37
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Question about how to mark a flag
Dear Fluka team,
I am learning to use the instructions if, elif, etc in these codes. My problem is that, when I want to run a code with a flag (for instance, choose between a region is made of lead or cadmium) I do not know how to mark that flag to simulate the process with cadmium or with lead.
Can you give me any help?
Thank you in advance,
Pedro.
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Ў(╣╞зЩй┌Быз▓цьr╕й╢*'~║&╢мЩиеКx%К╦Z╢mж╧ 0¤∙nСпшо▀Цщ■Шi■'i╟ Кwш
Received on Sat Feb 10 2018 - 17:20:43 CET