how to know the last printed text in QBasic -
i want know how last printed text in qbasic. if program prints several lines, how last line printed.
like this-
print "aaaaaaa" print "bbbbbbb" then program last printed line i.e. bbbbbbb
something maybe?
str$ = "aaaaaaa" print str$ str$ = "bbbbbbb" print str$ print "last printed line:"; str$ alternatively, explained here, can retrieve characters screen memory using peek @ segment &hb800 , this
def seg = &hb800 mychar = peek(1) 'etc you'd have keep track of on line last printed know need peek, complicated quickly...
for reason recommend rethink trying accomplish here because "screen scraping" bad idea.
Comments
Post a Comment