Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Input$(1)
#5
@Pete sounds like it's more a print issue.  Maybe something like:


DO
    PRINT debug_info;  'somewhere up higher in the code
    'more stuff
    a$ = INPUT$(1)
    a = VAL(a$)
    PRINT a$, a
    _DISPLAY
LOOP

debug_info might be 0.  a$ might be 1.   Printing you'd have "01        1".  The 0 and 1 would be together due to the semicolon, which could be a simply typo of where you'd expect a comma to go.

The prints are gone, the issue is gone, so I'd imagine the issue was probably with the print statements somewhere.  

And I still wonder if Dimster was eating cheetos at the keyboard again.  Got a crumb stuck under the "0" so it wasn't working, and sometime overnight his cat hopped up on the keyboard and cleaned it out for him with its tongue so it works properly now on the forums.  Big Grin Wink
Reply


Messages In This Thread
Using Input$(1) - by Dimster - 09-21-2025, 03:36 PM
RE: Using Input$(1) - by SMcNeill - 09-21-2025, 03:53 PM
RE: Using Input$(1) - by Dimster - 09-21-2025, 04:29 PM
RE: Using Input$(1) - by Pete - 09-21-2025, 09:04 PM
RE: Using Input$(1) - by SMcNeill - 09-21-2025, 10:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Converting input from other devices to standard PC gamepad analog input? madscijr 0 166 01-01-2026, 06:39 PM
Last Post: madscijr
  Input with _UPrintstring Dimster 6 789 07-16-2025, 02:38 PM
Last Post: Dimster
  reading multitouch touchscreen input madscijr 3 805 03-12-2025, 04:36 AM
Last Post: madscijr
  What options are there to get audio input? Dav 6 1,125 11-01-2024, 02:52 AM
Last Post: SpriggsySpriggs
Question reading multiple mice absolute position, keyboard with raw input api ? madscijr 1 724 05-29-2024, 05:38 PM
Last Post: madscijr

Forum Jump:


Users browsing this thread: 1 Guest(s)