Message: Re: how to loop runs in .mac file Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: how to loop runs in .mac file 

Forum: Run Management
Re: None how to loop runs in .mac file (Ma yunzhi)
Date: 22 Oct, 2004
From: Makoto Asai <Makoto Asai>

Loop counter must be enclosed by a pair of curly braket "{}"
instead of "$".

> #-------------------looped.mac----------------------
> #...
> /gun/energy $loopcounter keV

/gun/energy {loopcounter} keV

> #...
> #----------------------------------------------


Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: how to loop runs in .mac file   (Pierre - 14 Oct, 2014)
 Add Message Add Message
to: "Re: how to loop runs in .mac file"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]