F16_Blockwrite aus EEPROM

  • 1
  • 2
  • Page 2 of 2
miparo
Administrator
Avatar
Gender:
Location: Germany
Age: 59
Posts: 956
Registered: 09 / 2007
Subject:

Re: F16_Blockwrite aus EEPROM

 · 
Posted: 24.06.2019 - 14:29  ·  #9
Klaro.
Aber wenn du ein F16_FileRewrite() und danach gleich ein Search ... machst , das war meine Vermutung.
pvs-deck
PowerUser
Avatar
Gender:
Age: 53
Homepage: pvs-deck.de
Posts: 1340
Registered: 02 / 2009
Subject:

Re: F16_Blockwrite aus EEPROM

 · 
Posted: 25.06.2019 - 13:08  ·  #10
Quote by miparo

Klaro.
Aber wenn du ein F16_FileRewrite() und danach gleich ein Search ... machst , das war meine Vermutung.


Hallo miparo,

habe meinen Fehler gefunden :-D (...vor lauter Bäumen... :-D )

So gehts nur, wenn Datum UND Uhrzeit unterschiedlich sind....
Code
    if (SR.Dir.WrAccTime <> wCfgTime ) AND (SR.Dir.WrAccDate <> wCfgDate ) then
        return(false);
    else
       return(true);
    endif;  // Unterschied


Tja und so gehts richtig...
Code
    if (SR.Dir.WrAccTime <> wCfgTime ) OR (SR.Dir.WrAccDate <> wCfgDate ) then
        return(false);
    else
       return(true);
    endif;  // Unterschied


Es gibt so Tage...

Danke Dir trotzdem :-D

Thorsten
miparo
Administrator
Avatar
Gender:
Location: Germany
Age: 59
Posts: 956
Registered: 09 / 2007
Subject:

Re: F16_Blockwrite aus EEPROM

 · 
Posted: 25.06.2019 - 13:24  ·  #11
Mahlzeit,
programmieren ohne Fehler und debuggen, das wäre doch langweilig.

miparo
  • 1
  • 2
  • Page 2 of 2
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 15 · Cache Hits: 14   64   78 · Page-Gen-Time: 0.021896s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI