TIME$/de

(Difference between revisions)
Jump to: navigation, search
((**COPIED FROM ENGLISH PAGE**) =)
(Remarks)
Line 17: Line 17:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Remarks</span> =
+
= <span class="f_Header">Anmerkungen</span> =
  
The TIME$ variable is used in combination with the CONFIG CLOCK and CONFIG DATE directive.
+
Die TIME$ Variable wird in Kombination mit CONFIG CLOCK und CONFIG DATE benutzt.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
See&nbsp;[[CONFIG CLOCK|CONFIG CLOCK]]&nbsp;statement for further information. In this interrupt routine the _Sec, _Min and _Hour variables are updated. The time format is 24 hours format.
+
Siehe&nbsp;[[CONFIG CLOCK|CONFIG CLOCK]]&nbsp;Befehl für weitere Informationen. In der Interrupt Routine werden die _Sec, _Min und _Hour Variablen aktualisiert. Das Zeit-Format ist das 24-Stunden-Format.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
When you assign TIME$ to a string variable these variables are assigned to the TIME$ variable.
+
Wenn der TIME$ Variablen eine Konstante oder Variable zugewiesen wird dann werden die _sec, _Hour und _Min Variablen auf die neue Zeit gesetzt.
 
+
When you assign the TIME$ variable with a constant or other variable, the _sec, _Hour and _Min variables will be changed to the new time.
+
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
The only difference with VB is that all digits must be provided when assigning the time. This is done for minimal code. You can change this behavior of course.
+
Der einzige Unterschied zu VB ist dass alle Zuffern bei der Zeitzuweisung gegeben werden müssen. Dadurch entsteht schlanker Code. Natürlich könnte man dieses Verhalten ändern.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
Line 39: Line 37:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
[[File:Important.jpg|left|Important.jpg]]Do not confuse TIME$ with the TIME function&nbsp;!
+
[[File:Important.jpg|left|Important.jpg]]Bitte nicht TIME$ mit der TIME Funktion verwechseln!
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>

Revision as of 01:11, 20 March 2013

Contents

Funktion

Interne Variable für die Uhrzeit.

 

 

Syntax

TIME$ = "hh:mm:ss"

var = TIME$

 

 

Anmerkungen

Die TIME$ Variable wird in Kombination mit CONFIG CLOCK und CONFIG DATE benutzt.

 

Siehe CONFIG CLOCK Befehl für weitere Informationen. In der Interrupt Routine werden die _Sec, _Min und _Hour Variablen aktualisiert. Das Zeit-Format ist das 24-Stunden-Format.

 

Wenn der TIME$ Variablen eine Konstante oder Variable zugewiesen wird dann werden die _sec, _Hour und _Min Variablen auf die neue Zeit gesetzt.

 

Der einzige Unterschied zu VB ist dass alle Zuffern bei der Zeitzuweisung gegeben werden müssen. Dadurch entsteht schlanker Code. Natürlich könnte man dieses Verhalten ändern.

 

 

Important.jpg
Bitte nicht TIME$ mit der TIME Funktion verwechseln!

 

 

ASM

The following asm routines are called from mcs.lib.

When assigning TIME$ : _set_time (calls _str2byte)

When reading TIME$ : _make_dt (calls _byte2str)

 

 

See also

DATE$ , CONFIG CLOCK , CONFIG DATE

 

 

Example

See the sample of DATE$


Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language