Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"fehlender Operand" - Fehler

Empfohlene Antworten

Veröffentlicht

Hallo Kollegen,

ich habe mir letzte Woche ein folgendes Mini-Batch-Script geschrieben:

@echo off

del c:\log.txt

:start

set /A a=%random:~1,1%

set /A b=%random:~1,1%

set /A c=%random:~1,1%

set /A d=%random:~1,1%

set /A e=%random:~1,1%

set /A f=%random:~1,1%

echo %a%%b%%c%%d%%e%%f%>>C:\log.txt

rem pause>nul

goto start

Ich weiß selbst, dass es nicht schön ist, aber es war schnell zusammengestückelt und hat seinen Zweck erfüllt. (Stichwort Schleife...)

Jetzt ist folgendes passiert: Das Script schreibt munter 6-stellige Zufallszahlen in die Datei - ganz wie gewünscht - aber ab und an wird auf der Konsole "fehlender Operand" ausgegeben. Dass das auf der Konsole passiert und nicht in die Datei geschrieben wird hängt vermutlich an den Errorleveln - soweit ist das klar, aber warum dieser Fehler ÜBERHAUPT auftritt ist mir nicht klar. Weiß jemand die Lösung?

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.