Herramientas de usuario

Herramientas del sitio


de:locomotive:aplicaciones:basic:input_sin_signo_de_interrogacion

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

de:locomotive:aplicaciones:basic:input_sin_signo_de_interrogacion [2026/05/18 16:10] – creado jesusde:locomotive:aplicaciones:basic:input_sin_signo_de_interrogacion [2026/05/18 16:13] (actual) jesus
Línea 15: Línea 15:
   }   }
  
-  /* Scanlines and flicker overlay */+  /* Scanlines und Flimmer-Effekt */
   .pcw-monitor-ultra::after {   .pcw-monitor-ultra::after {
     content: " ";     content: " ";
Línea 30: Línea 30:
   @keyframes flickering { 0% { opacity: 0.98; } 100% { opacity: 1; } }   @keyframes flickering { 0% { opacity: 0.98; } 100% { opacity: 1; } }
  
-  /* Retro Text Style (Green Glow) */+  /* Retro-Textstil (Grünes Leuchten) */
   .retro-text {   .retro-text {
     color: #00ff00 !important;     color: #00ff00 !important;
Línea 54: Línea 54:
   @keyframes cursor-blink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }   @keyframes cursor-blink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
  
-  /* Internal section blocks */+  /* Interne Abschnittsblöcke */
   .pcw-section-box {   .pcw-section-box {
     margin: 20px 0;     margin: 20px 0;
Línea 78: Línea 78:
   }   }
  
-  /* Code block formatting */+  /* Quelltext-Formatierung */
   .pcw-code-box {   .pcw-code-box {
     background-color: #000500;     background-color: #000500;
Línea 89: Línea 89:
   }   }
  
-  /* Terminal style download list */+  /* Download-Liste im Terminal-Stil */
   .download-list { list-style-type: none; padding-left: 5px; margin: 0; display: inline-block; }   .download-list { list-style-type: none; padding-left: 5px; margin: 0; display: inline-block; }
   .download-list li { margin: 10px 0; font-weight: bold; color: #00ff00; }   .download-list li { margin: 10px 0; font-weight: bold; color: #00ff00; }
      
-  /* --- RETRO LINK CONTROL RULES (ACTIVE INACTIVE) --- */+  /* --- RETRO LINK CONTROL RULES (AKTIV INAKTIV) --- */
   .dokuwiki .pcw-monitor-ultra .download-list a {   .dokuwiki .pcw-monitor-ultra .download-list a {
     text-decoration: none !important;     text-decoration: none !important;
Línea 102: Línea 102:
   }   }
  
-  /* 1. INACTIVE (Page not created): Forest Matte Olive Green */+  /* 1. INAKTIV (Seite nicht erstellt): Mattes Waldgrün Olivgrün */
   .dokuwiki .pcw-monitor-ultra .download-list a.wikilink2 {   .dokuwiki .pcw-monitor-ultra .download-list a.wikilink2 {
     color: #88aa55 !important;     color: #88aa55 !important;
Línea 109: Línea 109:
   }   }
  
-  /* 2. ACTIVE (Page created): Radioactive Neon Green */+  /* 2. AKTIV (Seite erstellt): Strahlendes Neongrün */
   .dokuwiki .pcw-monitor-ultra .download-list a.wikilink,   .dokuwiki .pcw-monitor-ultra .download-list a.wikilink,
   .dokuwiki .pcw-monitor-ultra .download-list a:not(.wikilink2) {   .dokuwiki .pcw-monitor-ultra .download-list a:not(.wikilink2) {
Línea 123: Línea 123:
  
 <div class="pcw-monitor-ultra"> <div class="pcw-monitor-ultra">
-  <div class="pcw-title-ultra retro-text"> A> INPUT WITHOUT QUESTION MARK </div>+  <div class="pcw-title-ultra retro-text"> A> INPUT OHNE FRAGEZEICHEN </div>
  
-  <!-- DESCRIPTION SECTION -->+  <!-- BESCHREIBUNG ABSCHNITT -->
   <div class="pcw-section-box">   <div class="pcw-section-box">
-    <div class="pcw-section-title">DESCRIPTION</div>+    <div class="pcw-section-title">BESCHREIBUNG</div>
     <div class="pcw-text-body">     <div class="pcw-text-body">
-      The BASIC <strong>INPUT</strong> statement is a useful way to ask questions and gather answers from the user while a program is running. For exampleto ask someone for their nameyou can use the program line: <strong>10 INPUT "Name ;";name$.</strong> When the program runs, <span style="color: #aaffaa;">Name?</span> is printed on the screen (notice that the question mark is automatically added), the system waits for the user to type their name and press [RETURN], and then stores the result in the <span style="color: #aaffaa;">name$</span> variableHoweverthere are some interesting variations you can apply to this method.+      Die BASIC-Anweisung <strong>INPUT</strong> ist eine nützliche Methodeum Fragen zu stellen und Antworten vom Benutzer zu sammeln, während ein Programm ausgeführt wird. Um beispielsweise jemanden nach seinem Namen zu fragenkann die folgende Programmzeile verwendet werden: <strong>10 INPUT "Name ;";name$.</strong> Wenn das Programm ausgeführt wirderscheint <span style="color: #aaffaa;">Name?</span> auf dem Bildschirm (beachten Sie, dass das Fragezeichen automatisch hinzugefügt wird). Das System wartetbis der Benutzer seinen Namen eingibt und [RETURN] drücktund speichert das Ergebnis in der Variablen <span style="color: #aaffaa;">name$</span>Es gibt jedoch einige interessante Variationendie Sie bei dieser Methode anwenden können.
     </div>     </div>
     <div class="pcw-text-body">     <div class="pcw-text-body">
-      <strong>1.</strong> To prevent the question mark from automatically appearing at the enduse a <strong>comma</strong> instead of a semicolon right after the text enclosed in quotation marksThus, the instruction <strong>INPUT "Press &lt;RETURN&gt;",zzz</strong> displays 'Press &lt;RETURN&gt;' on the screen and waits for the user to do so. As a side effectthe variable zzz is assigned a value of zerobut you can simply ignore it.+      <strong>1.</strong> Um zu verhinderndass am Ende automatisch ein Fragezeichen erscheint, verwenden Sie ein <strong>Komma</strong> anstelle eines Semikolons direkt nach dem Text in AnführungszeichenDie Anweisung <strong>INPUT "Bitte &lt;RETURN&gt; druecken",zzz</strong> zeigt somit 'Bitte &lt;RETURN&gt; drueckenauf dem Bildschirm an und wartet daraufdass dies geschieht. Als Nebeneffekt erhält die Variable zzz den Wert Nullwas jedoch einfach ignoriert werden kann.
     </div>     </div>
     <div class="pcw-text-body">     <div class="pcw-text-body">
-      <strong>2.</strong> To save the trouble of always having to press [RETURN], a different technique can be usedIf you want to prompt the user to 'press any key to continue', you can use the lines provided in the source code listing.+      <strong>2.</strong> Wenn Sie dem Benutzer die ständige Bestätigung mit [RETURN] ersparen möchtenkann eine andere Technik angewendet werdenFalls Sie dazu auffordern möchten, 'eine beliebige Taste zum Fortfahren zu druecken', können Sie die im Quelltext gezeigten Zeilen nutzen.
     </div>     </div>
   </div>   </div>
  
-  <!-- SOURCE CODE SECTION -->+  <!-- QUELLTEXT ABSCHNITT -->
   <div class="pcw-section-box">   <div class="pcw-section-box">
-    <div class="pcw-section-title">SOURCE CODE</div>+    <div class="pcw-section-title">QUELLTEXT</div>
     <div class="pcw-code-box">10 zzz$=""     <div class="pcw-code-box">10 zzz$=""
-20 PRINT "Press any key to continue"+20 PRINT "Bitte eine beliebige Taste druecken"
 30 WHILE zzz$ ="" 30 WHILE zzz$ =""
 40 zzz$ = INKEY$ 40 zzz$ = INKEY$
Línea 149: Línea 149:
   </div>   </div>
  
-  <!-- DOWNLOAD SECTION -->+  <!-- DOWNLOAD ABSCHNITT -->
   <div class="pcw-section-box">   <div class="pcw-section-box">
-    <div class="pcw-section-title">DIGITAL FILE</div>+    <div class="pcw-section-title">DIGITALE DATEI</div>
     <ul class="download-list">     <ul class="download-list">
       <li>       <li>
-        <span style="color: #008800; margin-right: 5px;">[#]</span></html>[[:locomotive:aplicaciones:descargas:insinint.zip|INPUT without question mark]]<html><span style="color: #008800; font-weight: normal; font-size: 0.9em;"> (.DSK format program compressed in ZIP)</span>+        <span style="color: #008800; margin-right: 5px;">[#]</span></html>[[:locomotive:aplicaciones:descargas:insinint.zip|Eingabe ohne Fragezeichen (INPUT)]]<html><span style="color: #008800; font-weight: normal; font-size: 0.9em;"> (Programm im .DSK-Format, als ZIP komprimiert)</span>
       </li>       </li>
     </ul>     </ul>
de/locomotive/aplicaciones/basic/input_sin_signo_de_interrogacion.1779120654.txt.gz · Última modificación: por jesus