Alternate answers: Get first character: Clear previous line:

by Solitaire (Login Solitaire1)
S

 

Get first character:

INPUT mystring$
mystring$ = LEFT$(mystring$, 1)


Clear previous line:

LOCATE CSRLIN - 1, 1
PRINT SPACE$(80)
LOCATE CSRLIN - 1, 1

Example:

INPUT mystring$
mystring$ = LEFT$(mystring$, 1)
PRINT mystring$
PRINT "aaaaa"
PRINT "bbbbb"
LOCATE CSRLIN - 1, 1
PRINT SPACE$(80)
LOCATE CSRLIN - 1, 1
PRINT "ccccc"



    
This message has been edited by Solitaire1 on Nov 25, 2009 9:00 PM

Posted on Nov 25, 2009, 8:59 PM

Respond to this message   

Return to Index

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement