Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NewBie Question
#1
I'm having a heck of a time figuring out the differences between CLS 0, CLS 1, and CLS 2.Could someone post a working snippet demonstrating the application of the 3? (NO EXPLANATION NEEDED-just a demo snippet proving the DIFFERENCES IN APPLICATION. 
Thank you.

niteFlyer
Reply
#2
Hi. Here is an example of how to delete only the graphics (the gray block). Before using CLS, you must set the graphics viewport with the View command.

Code: (Select All)

Screen 13

Line (0, 0)-(100, 100), 25, BF
_PrintString (200, 10), "Text"
_PrintString (200, 50), "Press key"
Sleep
View (0, 0)-(100, 100)
Cls 1


Reply
#3
Code: (Select All)

Screen 13

View Print 1 To 3
View (0, 20)-(100, 100)
Line (0, 0)-(100, 100), 25, BF
Locate 1: Print "Text"
Locate 2: Print "Press key"
Sleep
Cls 2 'try here 1 or 0



Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  _Putimage Question. Pete 11 671 01-04-2026, 09:33 PM
Last Post: Pete
  Nice simple, I hope, question Mad Axeman 4 335 12-20-2025, 09:28 PM
Last Post: SMcNeill
  A Question About _MAPTRIANGLE Magdha 2 373 11-02-2025, 11:37 AM
Last Post: Magdha
  '$include: 'file.tmr' Timing Question pmackay 2 427 10-16-2025, 12:20 PM
Last Post: a740g
  question on determining time spent in area fistfullofnails 9 820 08-25-2025, 01:55 PM
Last Post: fistfullofnails

Forum Jump:


Users browsing this thread: 1 Guest(s)