# Ansi codes: echo #27 & "[2J" & ANSI_15 "This clears the screen!*" echo ANSI_15 "Ansi 9 = " & #9 & "#9 is a Tab. See how this text is indented?*" echo ANSI_15 "Ansi 27 = " & #27 echo ANSI_15 "*" & #9 & "In the above line, #27, shows you the current ANSI Text setting*" echo ANSI_15 #9 & "In this case, it's [37;1m, the equivalent of ANSI_15*" echo ANSI_15 #9 & #9 & "Note the clever use of the tabs. :)*" echo ANSI_15 "Ansi 42 = " & #42 & " This is how you make an Asterix show up**" echo ANSI_10 "This should look just like the line below it, bright green.*" echo ANSI_12 #27 & "[1;32m" & "See how it's Green text, just as if I had done ANSI_10 in front of the text,*" echo ANSI_12 "even though I put an ANSI_12 in front of it like this line.*" echo ANSI_15 "See how the Escape codes function a lot like the ANSI_XX codes?**" echo #27 & "[1;5;31m" & "This is Blinking Red!*" & #27 & "[0m" & "*" echo #27 & "[1;5;35;44m" & "This is Blinking Pink on Blue!" & #27 & "[0m**" echo ANSI_12 "You won't see part of the next line*" echo ANSI_15 "You will not see this part of the line! Well, maybe not the end of it :)*" echo ANSI_10 #27 & "[1A" & "Because it gets overwritten with this one.*" echo ANSI_15 "The escape code [1A tells the cursor to move up one line.**" echo ANSI_15 "To do the overwrite properly, you have to use the #27 & [K*" echo ANSI_15 "Sorta like this:*" echo ANSI_15 "This is a really long line that's going to get overwritten*" echo ANSI_10 #27 & "[1A" & #27 & "[K" & "See how it works?**" echo ANSI_15 "Also, you don't need to seperate the escape codes from the text that follows*" echo ANSI_15 "See the example below, where I mix it up some:*" echo ANSI_15 #27 & "[1;33m" & "So, this, " & #27 & "[1;33mis the same as this," ANSI_14 " or this.*" echo ANSI_15 "But I find the first way a lot easier to look at than the second way.*" echo ANSI_15 "But I use the 3rd way where I can, since it's probably the easiest.*" echo #27 "[1;31mAlso " #27 "[1;32mnote " #27 "[1;33mthat " #27 "[1;34myou " #27 "[1;5;35mdon't " #27 "[0;1;36malways need the " #27 "[1;5;31m& " #27 "[0;1;36mbetween text blocks, " #27 "[1;32mbut you*" echo #27 "[1;32mshould use them because it makes your code " #27 "[1;5;31mmuch cleanier looking.*" #27 "[0;37m"