Respond to this messageReturn to Index
Original Message
  • Re: How do you...?
    • Pete (Login The-Universe)
      Admin
      Posted Nov 25, 2009 8:49 AM

      <Isolate the first character from an input string?>

      First character is: MID$(x$, 1, 1) where X$ is your input string.

      <Get a LINE INPUT or INPUT to clear the line on re-use without cls? I just get to see what i input last time.>

      CLS
      LOCATE 6, 1: y% = CSRLIN
      PRINT "The Line Input statement will be cleared: ";
      x% = POS(1)
      DO
      LOCATE y%, x%
      LINE INPUT x$
      LOCATE y%, x%
      FOR i% = 1 TO LEN(x$)
      PRINT " ";
      NEXT
      LOOP UNTIL x$ = ""

      I'll post about #3 in a minute...

    Your Name
    Your Email
    (Optional)
    Message Title
    Message Text
    Options Also send responses to my email address