Extended Systems OneBridge 4.1 Betriebsanweisung Seite 163

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 222
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 162
APPENDIX A Function Reference
Users Guide 149
To set the locale to English:
uSetLocale("English")
uWeekdayNameShort("1969-03-13 10:22:23.231") //
returns "Thu"
To set the locale to German:
uSetLocale("German")
uWeekdayNameShort("1969-03-13 10:22:23.231") //
returns "Don"
uYear
Description Returns the year of the date specified.
Syntax string uYear([modifiers])
Parameters
string modifiers (optional)
String specifying a date or date calculation. The default is the
now modifier.
Examples Get the year from a date
uYear("now") // returns current year
uYear("1969-03-13 10:22:23.231") // returns "1969"
Errorhandling functions
uError
Description Writes error text into a log file and breaks from the current function or
programming context. The function returns the message written.
Syntax string uError(errortext)
Parameters
string errortext
Text to write to log file.
Examples To signal an error:
uError("'PP' is no valid country key.")
Seitenansicht 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 221 222

Kommentare zu diesen Handbüchern

Keine Kommentare