Re: [PHP] Greek PHP mailing list
kyk():Prgm:Local a,b,c: 13-a: "|+|"-b:ClrIO:Output 0,-1,left(b,a)""right(b,a):While abs(13-a)13:getKey()-c:If abs(50-c)=1 Then:a+c-50-a:Output 0,-1,left(b,a)""right(b,26-a):EndIf:EndWhile:EndPrgm Play with the 1 and 3 keys. Guess what it does by just looking at the code, and win a free donut (should arrive within 6-8 weeks, and shouldn't be too stale by then). 1 and 3 have character codes 49 and 51, respectively, if you want to take this on... Talking about OT! Is this a so-called kiloliner? From the times when a home computer had 1k, 16k or 64k? I say it is a game where you steer a Yen-sign along the line with the 1 and 3. If you go too far left or right you end the program (while). |+| 3 |+| 3 |+| 1 |+| 3 |+| 3 |+| 3 ... |+| 3 |+| 3 |+| 3 end I'm not familiar with these toys, i'm a biologist. So i can't tell what the 0,-1 in the output does. It may be the location of the output, so it is just a one line you see, with a moving Y. It can also mean it scrolls, then the suggestion of a road is made and you seem to move along the road. It is not too exciting though as the only way to move is to press a button. The + sign does not mean anything but the middle line of the road (if it is a road) and as you see, i guess it skips one place when you cross it. Satisfied? Chris -- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Greek PHP mailing list
The options: Get a graph-link cable (which I can't find ANYWHERE), or make your own during study hall, making them sufficiently stupid that the code can be compressed down to a screenful: kyk():Prgm:Local a,b,c:13-a:"|+|"-b:ClrIO:Output 0,-1,left(b,a)""right(b,a):While abs(13-a)13:getKey()-c:If abs(50-c)=1 Then:a+c-50-a:Output 0,-1,left(b,a)""right(b,26-a):EndIf:EndWhile:EndPrgm Play with the 1 and 3 keys. Guess what it does by just looking at the code, and win a free donut (should arrive within 6-8 weeks, and shouldn't be too stale by then). 1 and 3 have character codes 49 and 51, respectively, if you want to take this on... I must admit it is shorter code than javascript would be: (ie4+, NS4+) html head script language="javascript1.2" ns4 = (document.layers)? true:false ie4 = (document.all)? true:false document.a=13 function keyDown(e) { a=document.a b="|+|"; if (ns4) {var keycode = e.which-50; } if (ie4) {var keycode = event.keyCode-50; } if (Math.abs(keycode)==1){ a=a+keycode if ((Math.abs(a-13))12) {alert("CRASH!");document.TI.ROAD.value="";document.a =13;return 0;} document.TI.ROAD.value=(b.substring(0,a)+""+ b.substr(a,26)) } document.a=a } document.onkeydown = keyDown document.captureEvents(Event.KEYDOWN) /script body Do not click inside screen. Press 1 to go left, 3 to go right (on keyboard). table border=1 bgcolor="#D0D0D0" trtd colspan=3 align=rightfont size=2 type="arial,helvetica,sans- serif"Javascript instrument/font/tr trtd colspan=3 FORM NAME="TI" INPUT TYPE="TEXT" NAME="ROAD" size="30" /FORM /td/tr trtdSQRTtdMEMtdCOS/tr trtd7td8td9/tr trtd4td5td6/tr trtd1td2td3/tr trtdnbsp;td0tdnbsp;/tr /table /body /html -- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Greek PHP mailing list
From: "Brian White" [EMAIL PROTECTED] Sent: Thursday, January 25, 2001 4:55 AM At least you're not sitting in high school calculus and actually understanding everything on the board, but not being able to use any of it because Texas Instruments is the only company that's figured out how to do algebraic manipulation, and you can't exactly run a server on your calculator. =) Are you sure - I thought HP calculators could do it as well? Ah now, but who would use a HP, when you've got your trusty TI? :-) (JUST a joke - I can already see the clouds of war in the horizon. A war that is way older than VI/Emacs...) - Carsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Greek PHP mailing list
Hello, for whom it may concern: We created a greek mailing list for PHP questions, discussions etc. Many people lack of fluency of the english language (including me =) so this list was a MUST. Subscribe by sending an email at: [EMAIL PROTECTED] Thanks, Demetris Glezos --- , , PHP. email : [EMAIL PROTECTED] , -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Greek PHP mailing list
, , PHP. email : [EMAIL PROTECTED] , Ah, the good ol' days of sitting in college Match classes not understanding all those letters on the chalkboard. :-) Good Luck! -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Greek PHP mailing list
Ah, the good ol' days of sitting in college Match classes not understanding all those letters on the chalkboard. :-) At least you're not sitting in high school calculus and actually understanding everything on the board, but not being able to use any of it because Texas Instruments is the only company that's figured out how to do algebraic manipulation, and you can't exactly run a server on your calculator. =) Those little calculators are really fun for making stupid programs during study hall, though. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]