IBM Switch 15 Instrukcja Użytkownika Strona 118

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 270
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 117
108
Chapter 7
Figure 7-3
Conditional Derive comparing values of one field to those of the field before it
CLEM Examples
To illus trate c orrect syntax as well as th e types of exp r essions possible with CLEM, example
expressions follow.
Simple Expressions
Formulas ca n be as s imple as this one, which derives a new eld based on the values of t he
elds After and Before:
(After - Before) / Before * 100.0
Notice that eld names are unquoted wh en refer r ing to the v alues o f the eld.
Similarl y, the following e xp r ession simply return s the log of each value for the eld salary.
log(salary)
Przeglądanie stron 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 269 270

Komentarze do niniejszej Instrukcji

Brak uwag