DPL 9 Help

Chance Events that Refer to the Definition Section (DPL Code)

Chance Events that Refer to the Definition Section (DPL Code)

You specify a chance event in the sequence section of a program with the keywords chance or gamble or the keyword phrases take a chance or take a gamble. All of these keywords or keyword phrases are equivalent. You can use the one that makes the program easiest to read.

Following the keywords chance or gamble or the keyword phrases take a chance or take a gamble, you identify each outcome (or group of outcomes) with the keywords on or of. You can use whichever keyword makes the program easiest to read, and you can use different keywords with different outcomes of the same chance event.

gamble
   on Market_Forecast.High ...
   on Market_Forecast.Medium ...
   on Market_Forecast.Low ...

Versions: DPL Professional, DPL Enterprise, DPL Portfolio

See Also

The Sequence Section

The Definition Section