----------------------------------- Namis Thu Sep 11, 2003 8:22 pm Type-Writing Code? ----------------------------------- I was wondering if anyone has done a type-writing code or something using character set 176/177/178 before? if so, wanna explain how you would go about doing so? ----------------------------------- AsianSensation Thu Sep 11, 2003 9:03 pm ----------------------------------- a what? please elaborate... there is something called chr that outputs symbols... put chr (177) this outputs the plus or minus symbol I believe... ----------------------------------- Namis Fri Sep 12, 2003 2:45 pm ----------------------------------- Well (176-78 are bars ) Ill try it out, and post my results, so you can understand what i mean better. Edit Well i cant find the proper chr, ill have to run through afew of them i suppose, my textbook is wrong. Found out that im not looking for chr ( not ASCII values returned by getch) The Turing Character Set 1= Smiley Emoticon 2= Circle 3= Heart Etc Etc 176/177/178 = Bar || Anyway im guessing the code would look like this. X meaing the bar chr put chr (X) delay (20) put " B" put chr (X) delay (20) put " L " put chr (X) delay (20) put " A " put chr (X) delay (20) put " H " put chr (X) you get the idea, maybe there is an easier way to do it, i dont know. It should give it the effect of the bar being infront of the letter before you type it? Im having trouble explaining it, as you surely see. ----------------------------------- PHP God Sat Sep 13, 2003 10:54 pm ----------------------------------- put chr (X).. delay (20) put " B".. put chr (X).. delay (20) put " L ".. put chr (X).. delay (20) put " A ".. put chr (X).. delay (20) put " H ".. put chr (X) and thus it is done. ----------------------------------- Namis Sun Sep 14, 2003 9:57 pm ----------------------------------- So does anyone know the character set for bar? my book says its 176/177/178 yet it brings up the ascii character set. ----------------------------------- PHP God Mon Sep 15, 2003 6:52 am ----------------------------------- idk man. thats weird. ----------------------------------- Mazer Mon Sep 15, 2003 7:25 am ----------------------------------- i'm not quite sure i understand what you're asking. but if you're asking for the character code for "|", it's 124. so, put chr(124) will output "|"