mcdoc - default values for input parameters
Kristian Nielsen
kristian.nielsen at risoe.dk
Mon Mar 13 11:17:38 CET 2000
> Date: Mon, 13 Mar 2000 11:23:43 +0100
> From: Thomas C Hansen <hansen at ill.fr>
> Dear Kristian and Emmanuel,
>
> The tables in the html files coming out from mcdoc contain a column for default
> values of input parameters. I haven't found any component alrady using this
> possibility, so what's the foreseen syntax to fill in that column as well?
For example,
DEFINE COMPONENT GUIDE
SETTING PARAMETERS(R0 = 1, ...)
This would make the R0 parameter optional, with a default value of
1. This is already implemented in my current development version. I
guess a similar syntax will be implemented for instrument input
parameters.
- Kristian.
More information about the mcstas-users
mailing list