Advertisement
flyingfisch

Untitled

Jul 1st, 2012
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 87.24 KB | None | 0 0
  1. <!DOCTYPE html>
  2.     <html lang="en" >
  3.     <head>
  4.         <meta charset="UTF-8" />
  5.         <title>The Truth About Getkey - Casio Basic - Universal Casio Forum</title>
  6.         <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7.         <link rel="shortcut icon" href='http://community.casiocalc.org/favicon.ico' />
  8.         <link rel="image_src" href='/dot/public/style_images/master/meta_image.png' />
  9.         <script type='text/javascript'>
  10.         //<![CDATA[
  11.             jsDebug         = 0; /* Must come before JS includes */
  12.             USE_RTE         = 1;
  13.             DISABLE_AJAX    = parseInt(0); /* Disables ajax requests where text is sent to the DB; helpful for charset issues */
  14.             inACP           = false;
  15.             var isRTL       = false;
  16.             var rtlIe       = '';
  17.             var rtlFull     = '';
  18.         //]]>
  19.         </script>
  20.        
  21.    
  22.                
  23.    
  24.  
  25.                
  26.    
  27.  
  28.                
  29.    
  30.  
  31.                
  32.    
  33.  
  34.                
  35.    
  36.  
  37.                
  38.    
  39.  
  40.                
  41.    
  42.  
  43.                
  44.    
  45.    
  46.         <link rel="stylesheet" type="text/css" media='screen,print' href="/dot/public/min/index.php?ipbv=2b868f425fc4513e951fe4981cab52d6&amp;f=public/style_css/css_4/irc_widget.css,public/style_css/css_4/fs_news.css,public/style_css/css_4/prettify.css,public/style_css/css_4/calendar_select.css,public/style_css/css_4/ipb_styles.css,public/style_css/css_4/ipb_common.css,public/style_css/css_4/ipb_ckeditor.css,public/style_css/prettify.css" />
  47.    
  48.  
  49. <!--[if lte IE 7]>
  50.     <link rel="stylesheet" type="text/css" title='Main' media="screen" href="/dot/public/style_css/css_4/ipb_ie.css" />
  51. <![endif]-->
  52. <!--[if lte IE 8]>
  53.     <style type='text/css'>
  54.         .ipb_table { table-layout: fixed; }
  55.         .ipsLayout_content { width: 99.5%; }
  56.     </style>
  57. <![endif]-->
  58.  
  59.     <style type='text/css'>
  60.         img.bbc_img { max-width: 100% !important; }
  61.     </style>
  62.  
  63.         <meta property="og:title" content="The Truth About Getkey - Casio Basic"/>
  64.         <meta property="og:site_name" content="Universal Casio Forum"/>
  65.         <meta property="og:image" content="/dot/public/style_images/master/meta_image.png"/>
  66.         <meta property="og:type" content="article" />
  67.        
  68.    
  69.        
  70.             <meta name="keywords" content="The,Truth,About,Getkey,lately,few,seemed,having,problems,getkey,finally,ran,series,tests,calc,came" />
  71.        
  72.        
  73.        
  74.    
  75.  
  76.        
  77.             <meta name="description" content="The Truth About Getkey - posted in Casio Basic: OK, lately a few of you seemed to be having problems with getkey. I finally ran I series of tests on my calc and came to the following conclusions:
  78. Getkey does not store the last key pressed.
  79. In this thread, Khoraski and I came to the false conclusion that Getkey does not return to zero after a key is pressed. This is false. I discovered that because I did this small test program:
  80. While 1
  81. ClrText
  82. Locate 1,1,Getkey
  83. WhileEnd
  84. Try pressing an..." />
  85.        
  86.        
  87.        
  88.             <meta property="og:description" content="The Truth About Getkey - posted in Casio Basic: OK, lately a few of you seemed to be having problems with getkey. I finally ran I series of tests on my calc and came to the following conclusions:
  89. Getkey does not store the last key pressed.
  90. In this thread, Khoraski and I came to the false conclusion that Getkey does not return to zero after a key is pressed. This is false. I discovered that because I did this small test program:
  91. While 1
  92. ClrText
  93. Locate 1,1,Getkey
  94. WhileEnd
  95. Try pressing an..." />
  96.        
  97.    
  98.  
  99.        
  100.             <meta name="identifier-url" content="http://community.casiocalc.org/topic/6784-the-truth-about-getkey/" />
  101.        
  102.        
  103.             <meta property="og:url" content="http://community.casiocalc.org/topic/6784-the-truth-about-getkey/" />
  104.        
  105.        
  106.    
  107.  
  108.        
  109.        
  110.         <script type="text/javascript" src="/api/js/curl_cfg.js"></script>
  111. <script type="text/javascript" src="/api/js/3rd-party-libs/curl-0.6.2.min.js"></script>
  112.  
  113.         <script type='text/javascript' src='/dot/public/min/index.php?ipbv=2b868f425fc4513e951fe4981cab52d6&amp;g=js'></script>
  114.    
  115.     <script type='text/javascript' src='/dot/public/min/index.php?ipbv=2b868f425fc4513e951fe4981cab52d6&amp;charset=UTF-8&amp;f=public/js/ipb.js,cache/lang_cache/1/ipb.lang.js,public/js/ips.hovercard.js,public/js/ips.quickpm.js,public/js/ips.sharelinks.js,public/js/ips.textEditor.js,public/js/ips.topic.js,public/js/ips.like.js' charset='UTF-8'></script>
  116.  
  117.  
  118.    
  119.        
  120.            
  121.            
  122.            
  123.            
  124.                 <link id="ipsCanonical" rel="canonical" href="http://community.casiocalc.org/topic/6784-the-truth-about-getkey/" />
  125.            
  126.        
  127.  
  128.            
  129.            
  130.            
  131.            
  132.                 <link rel='stylesheet' type='text/css' title='Main' media='print' href='/dot/public/style_css/css_4/ipb_print.css' />
  133.            
  134.        
  135.  
  136.            
  137.            
  138.            
  139.            
  140.                 <link rel='up' href='http://community.casiocalc.org/forum/39-casio-basic/' />
  141.            
  142.        
  143.  
  144.            
  145.            
  146.            
  147.            
  148.                 <link rel='author' href='http://community.casiocalc.org/user/8705-flyingfisch/' />
  149.            
  150.        
  151.    
  152.  
  153.        
  154.            
  155.            
  156.                 <link rel="alternate" type="application/rss+xml" title="Report Center RSS Feed" href="http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=rss&amp;type=core&amp;member_id=8705&amp;rss_key=78f7c57e2acf3edb126a3727f309ed6f" />
  157.            
  158.            
  159.            
  160.        
  161.    
  162.  
  163.    
  164.  
  165.  
  166.  
  167.        
  168.         <script type='text/javascript'>
  169.     //<![CDATA[
  170.         /* ---- URLs ---- */
  171.         ipb.vars['base_url']            = 'http://community.casiocalc.org/index.php?s=66e7885b6239ff13896fb5536c6dfecc&';
  172.         ipb.vars['board_url']           = 'http://community.casiocalc.org';
  173.         ipb.vars['img_url']             = "/dot/public/style_images/master";
  174.         ipb.vars['loading_img']         = '/dot/public/style_images/master/loading.gif';
  175.         ipb.vars['active_app']          = 'forums';
  176.         ipb.vars['upload_url']          = '/uploads';
  177.         /* ---- Member ---- */
  178.         ipb.vars['member_id']           = parseInt( 8705 );
  179.         ipb.vars['is_supmod']           = parseInt( 1 );
  180.         ipb.vars['is_admin']            = parseInt( 1 );
  181.         ipb.vars['secure_hash']         = '85693ce2832e72fe1a4a8e234ffdad53';
  182.         ipb.vars['session_id']          = '66e7885b6239ff13896fb5536c6dfecc';
  183.         ipb.vars['twitter_id']          = 0;
  184.         ipb.vars['fb_uid']              = 0;
  185.         ipb.vars['auto_dst']            = parseInt( 1 );
  186.         ipb.vars['dst_in_use']          = parseInt( 1 );
  187.         ipb.vars['is_touch']            = false;
  188.         ipb.vars['member_group']        = {"g_mem_info":"1"}
  189.         /* ---- cookies ----- */
  190.         ipb.vars['cookie_id']           = '';
  191.         ipb.vars['cookie_domain']       = '.casiocalc.org';
  192.         ipb.vars['cookie_path']         = '/';
  193.         /* ---- Rate imgs ---- */
  194.         ipb.vars['rate_img_on']         = '/dot/public/style_images/master/star.png';
  195.         ipb.vars['rate_img_off']        = '/dot/public/style_images/master/star_off.png';
  196.         ipb.vars['rate_img_rated']      = '/dot/public/style_images/master/star_rated.png';
  197.         /* ---- Uploads ---- */
  198.         ipb.vars['swfupload_swf']       = 'http://community.casiocalc.org/public/js/3rd_party/swfupload/swfupload.swf';
  199.         ipb.vars['swfupload_enabled']   = true;
  200.         ipb.vars['use_swf_upload']      = ( 'default' == 'flash' ) ? true : false;
  201.         ipb.vars['swfupload_debug']     = false;
  202.         /* ---- other ---- */
  203.         ipb.vars['highlight_color']     = "#ade57a";
  204.         ipb.vars['charset']             = "UTF-8";
  205.         ipb.vars['seo_enabled']         = 1;
  206.        
  207.         ipb.vars['seo_params']          = {"start":"-","end":"\/","varBlock":"\/page__","varSep":"__"};
  208.        
  209.         /* Templates/Language */
  210.         ipb.templates['inlineMsg']      = "";
  211.         ipb.templates['ajax_loading']   = "<div id='ajax_loading'><img src='/dot/public/style_images/master/ajax_loading.gif' alt='" + ipb.lang['loading'] + "' /></div>";
  212.         ipb.templates['close_popup']    = "<img src='/dot/public/style_images/master/close_popup.png' alt='x' />";
  213.         ipb.templates['rss_shell']      = new Template("<ul id='rss_menu' class='ipbmenu_content'>#{items}</ul>");
  214.         ipb.templates['rss_item']       = new Template("<li><a href='#{url}' title='#{title}'>#{title}</a></li>");
  215.        
  216.             ipb.templates['m_add_friend']   = new Template("<a href='http://community.casiocalc.org/index.php?app=members&amp;module=profile&amp;section=friends&amp;do=add&amp;member_id=#{id}' title='Add as Friend' class='ipsButton_secondary'><img src='/dot/public/style_images/master/user_add.png' alt='Add as Friend' /></a>");
  217.             ipb.templates['m_rem_friend']   = new Template("<a href='http://community.casiocalc.org/index.php?app=members&amp;module=profile&amp;section=friends&amp;do=remove&amp;member_id=#{id}' title='Remove Friend' class='ipsButton_secondary'><img src='/dot/public/style_images/master/user_delete.png' alt='Remove Friend' /></a>");
  218.        
  219.         ipb.templates['autocomplete_wrap'] = new Template("<ul id='#{id}' class='ipb_autocomplete' style='width: 250px;'></ul>");
  220.         ipb.templates['autocomplete_item'] = new Template("<li id='#{id}' data-url='#{url}'><img src='#{img}' alt='' class='ipsUserPhoto ipsUserPhoto_mini' />&nbsp;&nbsp;#{itemvalue}</li>");
  221.         ipb.templates['page_jump']      = new Template("<div id='#{id}_wrap' class='ipbmenu_content'><h3 class='bar'>Jump to page</h3><p class='ipsPad'><input type='text' class='input_text' id='#{id}_input' size='8' /> <input type='submit' value='Go' class='input_submit add_folder' id='#{id}_submit' /></p></div>");
  222.         ipb.templates['global_notify']  = new Template("<div class='popupWrapper'><div class='popupInner'><div class='ipsPad'>#{message} #{close}</div></div></div>");
  223.        
  224.        
  225.         ipb.templates['header_menu']    = new Template("<div id='#{id}' class='ipsHeaderMenu boxShadow'></div>");
  226.        
  227.             ipb.global.checkDST();
  228.        
  229.         Loader.boot();
  230.     //]]>
  231.     </script>
  232.                 <link href="/dot/public/min/index.php?ipbv=2b868f425fc4513e951fe4981cab52d6&f=public/style_css/css_4/prettify.css" media="scren,print" type="text/css" rel="stylesheet">
  233.     </head>
  234.     <body id='ipboard_body'>
  235.         <p id='content_jump' class='hide'><a id='top'></a><a href='#j_content' title='Jump to content' accesskey='m'>Jump to content</a></p>
  236.         <div id='ipbwrapper'>
  237.             <!-- ::: TOP BAR: Sign in / register or user drop down and notification alerts ::: -->
  238.             <div id='header_bar' class='clearfix'>
  239.                 <div class='main_width'>
  240.                     <ul id='admin_bar' class='ipsList_inline left'>
  241.                            
  242.                                 <li>
  243.                                     <a href="http://community.casiocalc.org/admin/index.php" title='Admin CP' target="_blank">AdminCP</a>
  244.                                 </li>
  245.                            
  246.                             <li><a href="http://community.casiocalc.org/index.php?app=core&amp;module=modcp" title='ModeratorCP'>ModeratorCP</a></li>
  247.                            
  248.                         </ul>
  249.                     <div id='user_navigation' class='logged_in'>
  250.                             <ul class='ipsList_inline right'>
  251.                                 <li><a data-clicklaunch="getInboxList" id='inbox_link' href='http://community.casiocalc.org/index.php?app=members&amp;module=messaging' title='Messenger'>&nbsp;</a></li>
  252.                                     <li><a data-clicklaunch="getNotificationsList" id='notify_link' href="http://community.casiocalc.org/index.php?app=core&amp;module=usercp&amp;area=notificationlog" title="Notifications">&nbsp;</a></li>
  253.                                 <li><a id='user_link' href="http://community.casiocalc.org/user/8705-flyingfisch/"  title='Your Profile'>flyingfisch &nbsp;<span id='user_link_dd'></span></a></li>                        
  254.                                 <li><a href="http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=login&amp;do=logout&amp;k=85693ce2832e72fe1a4a8e234ffdad53">Sign Out</a></li>                             
  255.                                
  256.                             </ul>
  257.                         </div>
  258.                         <!-- ::: USER DROP DOWN MENU ::: -->
  259.                         <div id='user_link_menucontent' class='ipsHeaderMenu clearfix boxShadow' style='display: none'>
  260.                             <a href="http://community.casiocalc.org/user/8705-flyingfisch/" title='Your Profile' class='ipsUserPhotoLink left'>
  261.                                 <img src='http://www.gravatar.com/avatar/c2b06fbfe35d23dd71368c02157006ee?s=100&amp;d=http%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png' alt="flyingfisch&#39;s Photo" class='ipsUserPhoto ipsUserPhoto_medium photo' />
  262.                             </a>
  263.                            
  264.                             <div class='left'>
  265.                                 <form id='statusForm' action='http://community.casiocalc.org/index.php?app=members&amp;module=profile&amp;section=status&amp;do=new&amp;k=85693ce2832e72fe1a4a8e234ffdad53&amp;id=8705' method='post'>
  266.                                         <input type='text' id='statusUpdateGlobal' name='content' class='input_text' style='width: 97%' /><br />
  267.                                         <input type='submit' id='statusSubmitGlobal' class='ipsButton_secondary' value='Update' />
  268.                                        
  269.                                         <br />
  270.                                         <hr />
  271.                                     </form>
  272.                                     <ul id='links'>
  273.                                         <li id='user_profile'><a href='http://community.casiocalc.org/user/8705-flyingfisch/' title='Your Profile'>My Profile</a></li>
  274.                                         <li id='user_ucp'><a href="http://community.casiocalc.org/index.php?app=core&amp;module=usercp" title="Edit my settings, such as signature, photo and more...">My Settings</a></li>
  275.                                         <li id='user_content'><a href="http://community.casiocalc.org/index.php?app=core&amp;module=search&amp;do=user_activity&amp;mid=8705" title="My Content">My Content</a></li>
  276.                                        
  277.                                             <li id='user_likes'><a href='http://community.casiocalc.org/index.php?app=core&amp;module=search&amp;do=followed' title='Content I Follow'>Content I Follow</a></li>
  278.                                        
  279.                                        
  280.                                             <li id='user_friends'><a href='http://community.casiocalc.org/index.php?app=members&amp;module=profile&amp;section=friends&amp;do=list' title="Manage Friends" class='manage_friends'>Manage Friends</a></li>
  281.                                        
  282.                                         <li id='user_enemies'><a href='http://community.casiocalc.org/index.php?app=core&amp;module=usercp&amp;tab=core&amp;area=ignoredusers' title="Manage Ignore Prefs" class='manage_enemies'>Manage Ignore Prefs</a></li>
  283.                                        
  284.                                        
  285.                                             <li id='user_pm'><a href="http://community.casiocalc.org/index.php?app=members&module=messaging">Personal Messenger</a></li>
  286.                                        
  287.                                        
  288.                                        
  289.                                     </ul>
  290.                             </div>
  291.                         </div>
  292.                 </div>
  293.             </div>
  294.             <!-- ::: BRANDING STRIP: Logo and search box ::: -->
  295.             <div id='branding'>
  296.                 <div class='main_width'>
  297.                     <div id='logo'>
  298.                        
  299.                             <a href='http://community.casiocalc.org' title='Go to community index' rel="home" accesskey='1'><img src='http://img.removedfromgame.com/imgs/4-UCF_logo.png' alt='Logo'  height="63px" style="margin-top: 1px;"/></a>
  300.                        
  301.                     </div>
  302.                    
  303.                         <div id='search' class='right'>
  304.     <form action="http://community.casiocalc.org/index.php?app=core&amp;module=search&amp;do=search&amp;fromMainBar=1" method="post" id='search-box' >
  305.         <fieldset>
  306.             <label for='main_search' class='hide'>Search</label>
  307.             <a href='http://community.casiocalc.org/index.php?app=core&amp;module=search&amp;search_in=forums' title='Advanced Search' accesskey='4' rel="search" id='adv_search' class='right'>Advanced</a>
  308.             <span id='search_wrap' class='right'>
  309.                 <input type='text' id='main_search' name='search_term' class='inactive' size='17' tabindex='6' />
  310.                 <span class='choice ipbmenu clickable' id='search_options' style='display: none'></span>
  311.                 <ul id='search_options_menucontent' class='ipbmenu_content ipsPad' style='display: none'>
  312.                     <li class='title'><strong>Search section:</strong></li>
  313.                     <li class='special'>
  314.                             <label for='s_topic' title='This topic'>
  315.                                
  316.                                     <input type='radio' name='search_app' value="forums:topic:6784" class='input_radio' id='s_topic' checked="checked" />
  317.                                
  318.                                 <strong>This topic</strong>
  319.                             </label>
  320.                         </li>
  321.                    
  322.                    
  323.                     <li class='app'><label for='s_forums' title='Forums'><input type='radio' name='search_app' class='input_radio' id='s_forums' value="forums"  />Forums</label></li><li class='app'><label for='s_members' title='Members'><input type='radio' name='search_app' class='input_radio' id='s_members' value="members"  />Members</label></li><li class='app'><label for='s_core' title='Help Files'><input type='radio' name='search_app' class='input_radio' id='s_core' value="core"  />Help Files</label></li>
  324.                        
  325.                    
  326.  
  327.                        
  328.                    
  329.  
  330.                        
  331.                    
  332.  
  333.                        
  334.                    
  335.                 </ul>
  336.                 <input type='submit' class='submit_input clickable' value='Search' />
  337.             </span>
  338.            
  339.         </fieldset>
  340.     </form>
  341. </div>
  342.                    
  343.                 </div>
  344.             </div>
  345.             <!-- ::: APPLICATION TABS ::: -->
  346.             <div id='primary_nav' class='clearfix'>
  347.                 <div class='main_width'>
  348.                     <ul class='ipsList_inline' id='community_app_menu'>
  349.                        
  350.                             <li class='right'>
  351.                                 <a href="http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=navigation&amp;inapp=forums" rel="quickNavigation" accesskey='9' id='quickNavLaunch' title='Open Quick Navigation'><span>&nbsp;</span></a>
  352.                             </li>
  353.                        
  354.                         <li id='nav_explore' class='right'>
  355.                             <a href='http://community.casiocalc.org/index.php?app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=forums' accesskey='2'>View New Content</a>
  356.                         </li>
  357.                        
  358.                             <li id='nav_home' class='left'><a href='http://www.casiocalc.org/to/index.php' title='Homepage' rel="home">www.casiocalc.org</a></li>
  359.                        
  360.                        
  361.                                
  362.                                    
  363.                                
  364.  
  365.                                                                             <li id='nav_app_forums' class="left active"><a href='http://community.casiocalc.org/' title='Go to Forums'>Forums</a></li>
  366. <!-- BEGIN (Inserted_by_MicroPro) -->
  367.  
  368.     <li id='nav_filesharing' class="left "><a href='http://www.casiocalc.org/to/fsdisplay.php' target='_blank' title='CasioCalc.org File Sharing Area'>File Sharing</a></li>
  369.  
  370. <!-- END   (Inserted_by_MicroPro) -->
  371.                                
  372.  
  373.                                                                             <li id='nav_app_members' class="left "><a href='http://community.casiocalc.org/members/' title='Go to Members'>Members</a></li>
  374. <!-- BEGIN (Inserted_by_MicroPro) -->
  375.  
  376. <!-- END   (Inserted_by_MicroPro) -->
  377.                                
  378.                            
  379.                         <li id='nav_other_apps' style='display: none'>
  380.                             <a href='#' class='ipbmenu' id='more_apps'>More <img src='/dot/public/style_images/master/useropts_arrow.png' /></a>
  381.                         </li>
  382.                     </ul>
  383.                 </div>
  384.                 <script type='text/javascript'>
  385.                     if( $('primary_nav') ){ ipb.global.activateMainMenu(); }
  386.                 </script>
  387.             </div> 
  388.            
  389.             <!-- ::: MAIN CONTENT AREA ::: -->
  390.             <div id='content' class='clearfix'>
  391.                 <!-- ::: NAVIGATION BREADCRUMBS ::: -->
  392.                 <div id='secondary_navigation' class='clearfix'>
  393.                         <ol class='breadcrumb top ipsList_inline left'>
  394.                                                         <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
  395.                                     <a href='http://community.casiocalc.org/' itemprop="url">
  396.                                         <span itemprop="title">Universal Casio Forum</span>
  397.                                     </a>
  398.                                 </li>
  399.                                
  400.                            
  401.                                 <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
  402.                                     <span class='nav_sep'>&rarr;</span>
  403.                                      <a href='http://community.casiocalc.org/forum/25-programming/' title='Return to Programming' itemprop="url"><span itemprop="title">Programming</span></a>
  404.                                 </li>
  405.                                
  406.                            
  407.  
  408.                                 <li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
  409.                                     <span class='nav_sep'>&rarr;</span>
  410.                                      <a href='http://community.casiocalc.org/forum/39-casio-basic/' title='Return to Casio Basic' itemprop="url"><span itemprop="title">Casio Basic</span></a>
  411.                                 </li>
  412.                                
  413.                            
  414.                         </ol>
  415.                     </div>
  416.                     <br />
  417.                 <noscript>
  418.                     <div class='message error'>
  419.                         <strong>Javascript Disabled Detected</strong>
  420.                         <p>You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality.</p>
  421.                     </div>
  422.                     <br />
  423.                 </noscript>
  424.                 <!-- ::: CONTENT ::: -->
  425.  
  426. <!-- IRC Widget START -->
  427. <!-- <center> -->
  428. <!--
  429. <div id="irc_status"></div>
  430. <div class="stuff" id="casiocalcircholder"></div>
  431. </center>
  432.     <script type="text/javascript" >
  433.         curl(['jquery', 'apps/casiocalcirc']).then(
  434.         function ($, CasioCalcIRC) {
  435.         $.noConflict();
  436. CasioCalcIRC.Load("#casiocalcircholder");
  437.            
  438.         },
  439.         // execute this callback if there was a problem
  440.         function (ex) {
  441.             var msg = 'OH SNAP: ' + ex.message;
  442.             console.log(ex);
  443.             alert(msg);
  444.         });
  445.     </script>
  446. <br />
  447. -->
  448. <!-- IRC Widget END-->
  449.                
  450. <h1>LALALALALALALA</h1>
  451. <h1>LALALALALALALA</h1>
  452.                
  453.  
  454. <script type="text/javascript">
  455. //<![CDATA[
  456.     ipb.topic.inSection = 'topicview';
  457.     ipb.topic.topic_id  = 6784;
  458.     ipb.topic.forum_id  = 39;
  459.     ipb.topic.start_id  = 0;
  460.     ipb.topic.topPid    = 0;
  461.     ipb.topic.counts    = { postTotal: 4,
  462.                             curStart:  ipb.topic.start_id,
  463.                             perPage:   40 };
  464.     //Search Setup
  465.     ipb.vars['search_type']         = 'forum';
  466.     ipb.vars['search_type_id']      = 39;
  467.     ipb.vars['search_type_2']       = 'topic';
  468.     ipb.vars['search_type_id_2']    = 6784;
  469.    
  470.    
  471.     // Delete stuff set up
  472.     ipb.topic.deleteUrls['hardDelete'] = new Template( ipb.vars['base_url'] + "app=forums&module=moderate&section=moderate&do=04&f=39&t=6784&st=&auth_key=85693ce2832e72fe1a4a8e234ffdad53&p=#{pid}" );
  473.     ipb.topic.deleteUrls['softDelete'] = new Template( ipb.vars['base_url'] + "app=forums&module=moderate&section=moderate&do=postchoice&tact=sdelete&t=6784&f=39&auth_key=85693ce2832e72fe1a4a8e234ffdad53&selectedpids[#{pid}]=#{pid}&pid=#{pid}" );
  474.    
  475.    
  476.     ipb.templates['post_moderation'] = new Template("<div id='comment_moderate_box' class='ipsFloatingAction' style='display: none'><span class='desc'>With <span id='comment_count'>#{count}</span> checked posts: </span><select id='tactInPopup' class='input_select'><option value='approve'>Approve</option><option value='delete'>Hide</option><option value='sundelete'>Unhide</option><option value='deletedo'>Delete</option><option value='merge'>Merge</option><option value='split'>Split</option><option value='move'>Move</option></select>&nbsp;&nbsp;<input type='button' class='input_submit' id='submitModAction' value='Go' /></div>");
  477.    
  478. //]]>
  479. </script>
  480.  
  481.  
  482.  
  483.  
  484. <div class='__like right' data-app="forums" data-area="topics" data-relid="6784" data-isfave="">
  485.     <span class='ipsButton_extra right ' title='0 member(s) follow this topic' data-tooltip="0 member(s) follow this topic"><img src='/dot/public/style_images/master/icon_users.png' /> <strong>0</strong></span>
  486. <a href='#' title="Follow this topic and receive notifications on updates" class='ftoggle ipsButton_secondary'>Follow this topic</a>
  487. </div>
  488. <script type="text/javascript">
  489.     var FAVE_TEMPLATE = new Template( "<h3>Unfollow this topic</h3><div class='ipsPad'><span class='desc'>If you unfollow this topic you will no longer receive any notifications</span><br /><p class='ipsForm_center'><input type='button' value='Unfollow this topic' class='input_submit _funset' /></p></div>");
  490. </script>
  491.  
  492. <a href='http://community.casiocalc.org/user/8705-flyingfisch/' class='ipsUserPhotoLink'>
  493.  
  494.     <img src='http://www.gravatar.com/avatar/c2b06fbfe35d23dd71368c02157006ee?s=100&amp;d=http%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png' class='ipsUserPhoto ipsUserPhoto_medium left' />
  495.  
  496. </a>
  497.  
  498. <div itemscope itemtype="http://schema.org/Article" class='ipsBox_withphoto'>
  499.    
  500.     <h1 itemprop="name" class='ipsType_pagetitle'>The Truth About Getkey</h1>
  501.     <div class='desc lighter blend_links'>
  502.          Started by <span itemprop="creator"><a hovercard-ref="member" hovercard-id="8705" class="_hovertrigger url fn name " href='http://community.casiocalc.org/user/8705-flyingfisch/' title='View Profile'><span itemprop="name">flyingfisch</span></a></span>, <span itemprop="dateCreated">May 13 2012 08:39 PM</span>
  503.     </div>
  504.    
  505.     <meta itemprop="interactionCount" content="UserComments:4" />
  506. </div>
  507.  
  508.  
  509. <br />
  510. <div class='topic_controls'>
  511.    
  512.     <ul class='topic_buttons'>
  513.            
  514.                         <li><a href='http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784' title='Reply to this topic' accesskey='r'>Reply to this topic</a></li>
  515.                    
  516.            
  517.            
  518.                 <li class='non_button'><a href='#' id='topic_mod_options' title='Topic Moderation'>Topic Moderation</a></li>
  519.            
  520.         </ul>
  521. </div>
  522. <ul class='ipbmenu_content' id='topic_mod_options_menucontent'  style='display:none'>
  523.    
  524.         <li><a  href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=05" class='modlink_05'>Edit Title</a></li>
  525.    
  526.  
  527.         <li><a  href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=15" class='modlink_15'>Pin</a></li>
  528.    
  529.  
  530.         <li><a  href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=00" class='modlink_00'>Lock</a></li>
  531.    
  532.  
  533.         <li><a  href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=02" class='modlink_02'>Move</a></li>
  534.    
  535.  
  536.         <li><a  href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=60" class='modlink_60'>Merge</a></li>
  537.    
  538.  
  539.         <li><a  href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=03" class='modlink_03'>Hide</a></li>
  540.    
  541.  
  542.         <li><a  data-confirmaction="true" href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=08" class='modlink_08'>Delete</a></li>
  543.    
  544.  
  545.         <li><a  href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=30" class='modlink_30'>Remove Followers</a></li>
  546.    
  547.  
  548.         <li><a  href="http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;t=6784&amp;f=39&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53&amp;_fromTopic=1&amp;do=90" class='modlink_90'>Logs</a></li>
  549.    
  550.    
  551.    
  552. </ul>
  553. <script type='text/javascript'>
  554.     document.observe("dom:loaded", function()
  555.     {
  556.         new ipb.Menu( $('topic_mod_options'), $('topic_mod_options_menucontent') );
  557.     } );
  558. </script>
  559. <div class='maintitle clear clearfix'>
  560.     <span class='ipsType_small'>
  561.         3 replies to this topic
  562.     </span>
  563.        
  564. </div>
  565.  
  566. <div class='topic hfeed clear clearfix'>
  567.    
  568.    
  569.  
  570.     <div class='ipsBox'>
  571.         <div class='ipsBox_container' id='ips_Posts'>
  572.            
  573.                 <!--post:54606-->
  574.  
  575. <div class='post_block hentry clear clearfix ' id='post_id_54606'>
  576.         <a id='entry54606'></a>
  577.        
  578.    
  579.        
  580.         <div class='post_wrap' >
  581.            
  582.                 <h3 class='row2'>
  583.            
  584.                 <span class='right'>
  585.                         <label for='checkbox_54606' class='post_mod hide'>Select this post for moderation</label><input type='checkbox' id='checkbox_54606' name='selectedpids[]' value='54606' class='post_mod right' data-status='0' />
  586.                     </span>
  587.                 <span class='post_id right ipsType_small desc blend_links'>
  588.                    
  589.                         <a itemprop="replyToUrl" href='http://community.casiocalc.org/topic/6784-the-truth-about-getkey/#entry54606' rel='bookmark' title='The Truth About Getkey: post #1'>
  590.                    
  591.                     #1
  592.                     </a>
  593.                 </span>
  594.                
  595.                     <span itemprop="creator name" class="author vcard"><a hovercard-ref="member" hovercard-id="8705" class="_hovertrigger url fn name " href='http://community.casiocalc.org/user/8705-flyingfisch/' title='View Profile'><span itemprop="name">flyingfisch</span></a></span>
  596.                
  597.            
  598.                 <span class='ip right ipsType_small'>(IP:
  599.                    
  600.                         <em>Private</em>
  601.                     )
  602.                     </span>
  603.             </h3>
  604.             <div class='author_info'>
  605.                 <div itemscope itemtype="http://schema.org/Person" class='user_details'>
  606.     <span class='hide' itemprop="name">flyingfisch</span>
  607.     <ul class='basic_info'>
  608.        
  609.             <p class='desc member_title'>Casio Overlord</p>
  610.        
  611.         <li class='avatar'>
  612.                
  613.                 <a itemprop="url" href="http://community.casiocalc.org/user/8705-flyingfisch/" title="View Profile: flyingfisch" class='ipsUserPhotoLink'>
  614.                
  615.                
  616.                     <img itemprop="image" src='http://www.gravatar.com/avatar/c2b06fbfe35d23dd71368c02157006ee?s=100&amp;d=http%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png' class='ipsUserPhoto ipsUserPhoto_large' />
  617.                
  618.                
  619.                 </a>
  620.                
  621.             </li>
  622.         <li class='group_title'>
  623.             <span style='color:orange'>Deputy</span>
  624.         </li>
  625.         <li class='group_icon'>
  626.            
  627.                 <img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' />
  628.            
  629.             </li>
  630.        
  631.         <li class='post_count desc lighter'>
  632.             626 posts
  633.         </li>
  634.        
  635.         <li>
  636.                
  637.                 <a class='desc lighter blend_links' href='http://community.casiocalc.org/index.php?app=members&amp;module=profile&amp;section=warnings&amp;member=8705&amp;from_app=forums&amp;from_id1=54606&amp;from_id2=' id='warn_link_54606_8705' title='View warn history'>0 warning points</a>
  638.             </li>
  639.     </ul>
  640.    
  641.    
  642.         <ul class='custom_fields'>
  643.            
  644.                
  645.                    
  646.                         <li>
  647.                             <span class='ft'>Gender:</span><span class='fc'>Male</span>
  648.                         </li>
  649.                    
  650.                
  651.  
  652.                    
  653.                         <li>
  654.                             <span class='ft'>Location:</span><span class='fc'>OH,USA</span>
  655.                         </li>
  656.                    
  657.                
  658.  
  659.                    
  660.                         <li>
  661.                             <span class='ft'>Interests:</span><span class='fc'>Casio Calculators, Python programming, Flash 8, PHP, Lua (kind of), plane-watching, aviation, skiing, running, umm... Calculators, Python -- wait a second, I already said that!</span>
  662.                         </li>
  663.                    
  664.                
  665.            
  666.  
  667.                
  668.                    
  669.                         <li>
  670.                             <br /><strong>Calculators:</strong><br />
  671. Hacked fx-9750gii (in other words, an fx-9860gii without SD)<br />
  672. fx-CG 10 PRIZM<br />
  673.                         </li>
  674.                    
  675.                
  676.            
  677.         </ul>
  678.    
  679.    
  680. </div>
  681.             </div>
  682.             <div class='post_body'>
  683.                 <p class='posted_info desc lighter ipsType_small'>
  684.                     Posted <abbr class="published" itemprop="commentTime" title="2012-05-14T00:39:52+00:00">13 May 2012 - 08:39 PM</abbr>
  685.                 </p>
  686.                
  687.                 <div itemprop="commentText" class='post entry-content '>
  688.                     OK, lately a few of you seemed to be having problems with getkey. I finally ran I series of tests on my calc and came to the following conclusions:<br />
  689. <br />
  690. <strong class='bbc'>Getkey does <em class='bbc'>not</em> store the last key pressed.</strong><br />
  691. <br />
  692. In <a href='http://www.casiocalc.org/?showtopic=6761' class='bbc_url' title='External link' rel='nofollow external'>this thread</a>, Khoraski and I came to the false conclusion that Getkey does not return to zero after a key is pressed. This is false. I discovered that because I did this small test program:<br />
  693. <br />
  694. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  695. While 1
  696. ClrText
  697. Locate 1,1,Getkey
  698. WhileEnd
  699. </pre>
  700. <br />
  701. Try pressing any key. You will notice that it will show the value of the key <em class='bbc'>only while the key is being pressed</em>. The reason that I thought that it was not returning to zero afterwards was because my program was setup like this:<br />
  702. <br />
  703. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  704. &#34;Test&#34;? -&#62; V
  705. While not Getkey
  706. WhileEnd
  707. &#34;Done&#34;
  708. </pre>
  709. <br />
  710. It would go straight to <em class='bbc'>&quot;Done&quot;</em> without looping. I have discovered why that is. When you finish inputting in the test prompt, you press EXE. You do not release the EXE key immediately, though. So <em class='bbc'>Getkey</em> is true and breaks from the loop. How do we fix this? <del class='bbc'>I do it by adding a a little delay:</del> <br />
  711. <br />
  712. <strong class='bbc'><em class='bbc'>Deprecated. See the edit below.</em></strong><br />
  713. <br />
  714. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  715. &#34;Test&#34;? -&#62; V
  716.  
  717. //begin delay
  718. 2 -&#62; I
  719. While I&#62;0
  720. I-1 -&#62; I
  721. WhileEnd
  722. //end delay
  723.  
  724. While not Getkey
  725. WhileEnd
  726. &#34;Done&#34;
  727. </pre>
  728. <br />
  729. If you have any more problems with this function, feel free to post here so I can help figure out whats going on. <img src='/dot/public/style_emoticons/default/wink2.gif' class='bbc_emoticon' alt=';)' /><br />
  730. <br />
  731. <br />
  732. <br />
  733. <br />
  734. <br />
  735. <br />
  736. <strong class='bbc'>EDIT:</strong><br />
  737. <br />
  738. CFXM provided a very good piece of code that works better than my delay.<br />
  739. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  740. &#34;TEST&#34;? -&#62; V
  741. While Getkey
  742. WhileEnd
  743. Do
  744. Getkey
  745. LpWhile Not Ans // Or any specific key
  746. </pre>
  747. <br />
  748. The first loop waits for you to release the key, and the second waits for you to press a new one.
  749.                    
  750.                     <br />
  751.                    
  752.                 </div>
  753.                
  754.                
  755.                 <div class='ipsLikeBar right clearfix' id='rep_post_54606'>
  756.                 <ul class='ipsList_inline'>
  757.                     <li id="like_post_54606" class='ipsLikeBar_info' style="display:none">
  758.                            
  759.                         </li>
  760.                     <li >
  761.                             <a class='ipsLikeButton ipsLikeButton_enabled rep_up' href='http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=54606&amp;rating=1&amp;secure_key=85693ce2832e72fe1a4a8e234ffdad53&amp;post_return=54606' title='Like this item'>Like This</a>
  762.                         </li>
  763.                         <li style="display:none">
  764.                             <a class='ipsLikeButton ipsLikeButton_disabled rep_down' href='http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=54606&amp;rating=-1&amp;secure_key=85693ce2832e72fe1a4a8e234ffdad53&amp;post_return=54606' title='Remove like for this item'>Unlike</a>
  765.                         </li>
  766.                 </ul>
  767.             </div>
  768. <script type='text/javascript'>
  769.     ipb.global.registerReputation( 'rep_post_54606', { domLikeStripId: 'like_post_54606', app: 'forums', type: 'pid', typeid: '54606' }, parseInt('0') );
  770. </script>
  771.                
  772.                                
  773.                
  774.                     <div class="signature" data-memberid="8705">
  775.    
  776.     <!--signature-cached-Sun, 01 Jul 2012 18:37:14 +0000--><a href='http://casiocalc.org' class='bbc_url' title='External link' rel='nofollow external'><img src='http://userbars.removedfromgame.com/ub/flyingfisch427.png' alt='Posted Image' class='bbc_img' /></a><span rel='lightbox'><img src='http://userbars.removedfromgame.com/ub/flyingfisch406.png' alt='Posted Image' class='bbc_img' /></span><br />
  777. <a href='http://casio.clrhome.org' class='bbc_url' title='External link' rel='nofollow external'><img src='http://img.removedfromgame.com/imgs/left.png' alt='Posted Image' class='bbc_img' /></a><a href='http://clrhome.org' class='bbc_url' title='External link' rel='nofollow external'><img src='http://img.removedfromgame.com/imgs/0-right.png' alt='Posted Image' class='bbc_img' /></a><span rel='lightbox'><img src='http://img.removedfromgame.com/imgs/0-calcs.png' alt='Posted Image' class='bbc_img' /></span>
  778. </div>
  779.                
  780.                
  781.                
  782.            
  783.                 <ul id='postControlsNormal_54606' class='post_controls clear clearfix' >
  784.                     <li class='top hide'><a href='#ipboard_body' class='top' title='Back to top'>Back to top</a></li>
  785.                     <li><a href="http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784&amp;qpid=54606"  class='_ips_trigger_quote ipsButton_secondary' pid="54606" title="Reply directly to this post">Quote</a></li>
  786.                            
  787.                                 <li class='multiquote' id='multiq_54606' style='display: none'>
  788.                            
  789.                                 <a href="http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784&amp;qpid=54606" title="MultiQuote allows you to select multiple posts across multiple topics, then reply to them all at once" class='ipsButton_secondary'>MultiQuote</a>
  790.                             </li>
  791.                    
  792.                    
  793.                    
  794.                         <li class='post_edit'><a href='http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=edit_post&amp;f=39&amp;t=6784&amp;p=54606&amp;st=' title='Edit this post' class='edit_post' id='edit_post_54606'>Edit</a></li>
  795.                    
  796.                    
  797.                     <li class='report'>
  798.                             <a href='http://community.casiocalc.org/index.php?app=core&amp;module=reports&amp;rcom=post&amp;tid=6784&amp;pid=54606&amp;st='>Report</a>
  799.                         </li>
  800.                        
  801.                 </ul>
  802.                    
  803.             </div>
  804.         </div>
  805.     </div>
  806.        
  807.        
  808.         <hr />
  809.        
  810.        
  811. <script type="text/javascript">
  812. var pid = parseInt(54606);
  813. if ( pid > ipb.topic.topPid ){
  814.     ipb.topic.topPid = pid;
  815. }
  816.  
  817.     // Show multiquote for JS browsers
  818.     if ( $('multiq_54606') )
  819.     {
  820.         $('multiq_54606').show();
  821.     }
  822.    
  823.     if( $('toggle_post_54606') )
  824.     {
  825.         $('toggle_post_54606').show();
  826.     }
  827.    
  828.     // Add perm data
  829.     ipb.topic.deletePerms[54606] = { 'canDelete' : 0, 'canSoftDelete' : 0 };
  830.  
  831. </script>
  832.            
  833.  
  834.                 <!--post:54607-->
  835.  
  836. <div class='post_block hentry clear clearfix ' id='post_id_54607'>
  837.         <a id='entry54607'></a>
  838.        
  839.    
  840.        
  841.         <div class='post_wrap' >
  842.            
  843.                 <h3 class='row2'>
  844.            
  845.                 <span class='right'>
  846.                         <label for='checkbox_54607' class='post_mod hide'>Select this post for moderation</label><input type='checkbox' id='checkbox_54607' name='selectedpids[]' value='54607' class='post_mod right' data-status='0' />
  847.                     </span>
  848.                 <span class='post_id right ipsType_small desc blend_links'>
  849.                    
  850.                         <a itemprop="replyToUrl" href='http://community.casiocalc.org/topic/6784-the-truth-about-getkey/#entry54607' rel='bookmark' title='The Truth About Getkey: post #2'>
  851.                    
  852.                     #2
  853.                     </a>
  854.                 </span>
  855.                
  856.                     <span itemprop="creator name" class="author vcard"><a hovercard-ref="member" hovercard-id="20622" class="_hovertrigger url fn name " href='http://community.casiocalc.org/user/20622-naga/' title='View Profile'><span itemprop="name">Naga</span></a></span>
  857.                
  858.            
  859.                 <span class='ip right ipsType_small'>(IP:
  860.                     <a href="http://community.casiocalc.org/index.php?app=core&amp;module=modcp&amp;fromapp=members&amp;tab=iplookup&amp;ip=59.92.58.73" title='Find information about this IP'>59.92.58.73</a>)
  861.                     </span>
  862.             </h3>
  863.             <div class='author_info'>
  864.                 <div itemscope itemtype="http://schema.org/Person" class='user_details'>
  865.     <span class='hide' itemprop="name">Naga</span>
  866.     <ul class='basic_info'>
  867.        
  868.             <p class='desc member_title'>Newbie</p>
  869.        
  870.         <li class='avatar'>
  871.                
  872.                 <a itemprop="url" href="http://community.casiocalc.org/user/20622-naga/" title="View Profile: Naga" class='ipsUserPhotoLink'>
  873.                
  874.                
  875.                     <img itemprop="image" src='http://www.gravatar.com/avatar/cb3566458ba291487cc961975b913689?s=100&amp;d=http%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png' class='ipsUserPhoto ipsUserPhoto_large' />
  876.                
  877.                
  878.                 </a>
  879.                
  880.             </li>
  881.         <li class='group_title'>
  882.             Members
  883.         </li>
  884.         <li class='group_icon'>
  885.            
  886.                 <img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' />
  887.            
  888.             </li>
  889.        
  890.         <li class='post_count desc lighter'>
  891.             16 posts
  892.         </li>
  893.        
  894.         <li>
  895.                
  896.                 <a class='desc lighter blend_links' href='http://community.casiocalc.org/index.php?app=members&amp;module=profile&amp;section=warnings&amp;member=20622&amp;from_app=forums&amp;from_id1=54607&amp;from_id2=' id='warn_link_54607_20622' title='View warn history'>0 warning points</a>
  897.             </li>
  898.     </ul>
  899.    
  900.    
  901.         <ul class='custom_fields'>
  902.            
  903.                
  904.                    
  905.                         <li>
  906.                             <span class='ft'>Gender:</span><span class='fc'>Male</span>
  907.                         </li>
  908.                    
  909.                
  910.  
  911.                    
  912.                         <li>
  913.                             <span class='ft'>Location:</span><span class='fc'>chennai,India</span>
  914.                         </li>
  915.                    
  916.                
  917.  
  918.                    
  919.                
  920.            
  921.  
  922.                
  923.                    
  924.                         <li>
  925.                             <br /><strong>Calculators:</strong><br />
  926. Casio 9860 GII<br />
  927.                         </li>
  928.                    
  929.                
  930.            
  931.         </ul>
  932.    
  933.    
  934. </div>
  935.             </div>
  936.             <div class='post_body'>
  937.                 <p class='posted_info desc lighter ipsType_small'>
  938.                     Posted <abbr class="published" itemprop="commentTime" title="2012-05-14T03:40:50+00:00">13 May 2012 - 11:40 PM</abbr>
  939.                 </p>
  940.                
  941.                 <div itemprop="commentText" class='post entry-content '>
  942.                     Nice examples.<br />
  943. <br />
  944. Here is my code.<br />
  945. <br />
  946. <br />
  947. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  948. ?-&#62;K
  949.  
  950. Do&#58;Getkey
  951.  
  952. Lpwhile Not Ans
  953.  
  954. Ans=79&#40;F1&#41;=&#62;K+1-&#62;K
  955.  
  956. Ans=69&#40;F2&#41;=&#62;K+2-&#62;K
  957.  
  958. Locate 1,1,K
  959. </pre>
  960. <br />
  961. First am inputting K value.<br />
  962. <br />
  963. If I press F1 it should add 1 to the K value and then print the result.<br />
  964. <br />
  965. Suppose if I press the number 10 it should take 10 as input and then display the value.<br />
  966. <br />
  967. How to solve this?
  968.                    
  969.                     <br />
  970.                    
  971.                 </div>
  972.                
  973.                
  974.                 <div class='ipsLikeBar right clearfix' id='rep_post_54607'>
  975.                 <ul class='ipsList_inline'>
  976.                     <li id="like_post_54607" class='ipsLikeBar_info' style="display:none">
  977.                            
  978.                         </li>
  979.                     <li >
  980.                             <a class='ipsLikeButton ipsLikeButton_enabled rep_up' href='http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=54607&amp;rating=1&amp;secure_key=85693ce2832e72fe1a4a8e234ffdad53&amp;post_return=54607' title='Like this item'>Like This</a>
  981.                         </li>
  982.                         <li style="display:none">
  983.                             <a class='ipsLikeButton ipsLikeButton_disabled rep_down' href='http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=54607&amp;rating=-1&amp;secure_key=85693ce2832e72fe1a4a8e234ffdad53&amp;post_return=54607' title='Remove like for this item'>Unlike</a>
  984.                         </li>
  985.                 </ul>
  986.             </div>
  987. <script type='text/javascript'>
  988.     ipb.global.registerReputation( 'rep_post_54607', { domLikeStripId: 'like_post_54607', app: 'forums', type: 'pid', typeid: '54607' }, parseInt('0') );
  989. </script>
  990.                
  991.                                
  992.                
  993.                
  994.                
  995.            
  996.                 <ul id='postControlsNormal_54607' class='post_controls clear clearfix' >
  997.                     <li class='top hide'><a href='#ipboard_body' class='top' title='Back to top'>Back to top</a></li>
  998.                     <li><a href="http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784&amp;qpid=54607"  class='_ips_trigger_quote ipsButton_secondary' pid="54607" title="Reply directly to this post">Quote</a></li>
  999.                            
  1000.                                 <li class='multiquote' id='multiq_54607' style='display: none'>
  1001.                            
  1002.                                 <a href="http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784&amp;qpid=54607" title="MultiQuote allows you to select multiple posts across multiple topics, then reply to them all at once" class='ipsButton_secondary'>MultiQuote</a>
  1003.                             </li>
  1004.                    
  1005.                         <li id='del_post_54607' class='post_del'>
  1006.                             <a href='http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=deletedo&amp;f=39&amp;t=6784&amp;selectedpids[]=54607&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53' title='Delete this post' class='delete_post' onclick='return false;' >Delete</a>
  1007.                         </li>
  1008.                    
  1009.                    
  1010.                         <li id='hide_post_54607'>
  1011.                             <a href='http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=delete&amp;f=39&amp;t=6784&amp;selectedpids[]=54607&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53' class='hide_post'>Hide</a>
  1012.                         </li>
  1013.                    
  1014.                    
  1015.                         <li class='post_edit'><a href='http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=edit_post&amp;f=39&amp;t=6784&amp;p=54607&amp;st=' title='Edit this post' class='edit_post' id='edit_post_54607'>Edit</a></li>
  1016.                    
  1017.                    
  1018.                     <li class='report'>
  1019.                             <a href='http://community.casiocalc.org/index.php?app=core&amp;module=reports&amp;rcom=post&amp;tid=6784&amp;pid=54607&amp;st='>Report</a>
  1020.                         </li>
  1021.                        
  1022.                 </ul>
  1023.                    
  1024.             </div>
  1025.         </div>
  1026.     </div>
  1027.        
  1028.        
  1029.         <hr />
  1030.        
  1031.        
  1032. <script type="text/javascript">
  1033. var pid = parseInt(54607);
  1034. if ( pid > ipb.topic.topPid ){
  1035.     ipb.topic.topPid = pid;
  1036. }
  1037.  
  1038.     // Show multiquote for JS browsers
  1039.     if ( $('multiq_54607') )
  1040.     {
  1041.         $('multiq_54607').show();
  1042.     }
  1043.    
  1044.     if( $('toggle_post_54607') )
  1045.     {
  1046.         $('toggle_post_54607').show();
  1047.     }
  1048.    
  1049.     // Add perm data
  1050.     ipb.topic.deletePerms[54607] = { 'canDelete' : 1, 'canSoftDelete' : 1 };
  1051.  
  1052. </script>
  1053.            
  1054.  
  1055.                 <!--post:54610-->
  1056.  
  1057. <div class='post_block hentry clear clearfix ' id='post_id_54610'>
  1058.         <a id='entry54610'></a>
  1059.        
  1060.    
  1061.        
  1062.         <div class='post_wrap' >
  1063.            
  1064.                 <h3 class='row2'>
  1065.            
  1066.                 <span class='right'>
  1067.                         <label for='checkbox_54610' class='post_mod hide'>Select this post for moderation</label><input type='checkbox' id='checkbox_54610' name='selectedpids[]' value='54610' class='post_mod right' data-status='0' />
  1068.                     </span>
  1069.                 <span class='post_id right ipsType_small desc blend_links'>
  1070.                    
  1071.                         <a itemprop="replyToUrl" href='http://community.casiocalc.org/topic/6784-the-truth-about-getkey/#entry54610' rel='bookmark' title='The Truth About Getkey: post #3'>
  1072.                    
  1073.                     #3
  1074.                     </a>
  1075.                 </span>
  1076.                
  1077.                     <span itemprop="creator name" class="author vcard"><a hovercard-ref="member" hovercard-id="3463" class="_hovertrigger url fn name " href='http://community.casiocalc.org/user/3463-cfxm/' title='View Profile'><span itemprop="name">cfxm</span></a></span>
  1078.                
  1079.            
  1080.                 <span class='ip right ipsType_small'>(IP:
  1081.                     <a href="http://community.casiocalc.org/index.php?app=core&amp;module=modcp&amp;fromapp=members&amp;tab=iplookup&amp;ip=141.55.125.41" title='Find information about this IP'>141.55.125.41</a>)
  1082.                     </span>
  1083.             </h3>
  1084.             <div class='author_info'>
  1085.                 <div itemscope itemtype="http://schema.org/Person" class='user_details'>
  1086.     <span class='hide' itemprop="name">cfxm</span>
  1087.     <ul class='basic_info'>
  1088.        
  1089.             <p class='desc member_title'>Casio Freak</p>
  1090.        
  1091.         <li class='avatar'>
  1092.                
  1093.                 <a itemprop="url" href="http://community.casiocalc.org/user/3463-cfxm/" title="View Profile: cfxm" class='ipsUserPhotoLink'>
  1094.                
  1095.                
  1096.                     <img itemprop="image" src='http://www.gravatar.com/avatar/df3319784d88b777904b579a9d9573ab?s=100&amp;d=http%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png' class='ipsUserPhoto ipsUserPhoto_large' />
  1097.                
  1098.                
  1099.                 </a>
  1100.                
  1101.             </li>
  1102.         <li class='group_title'>
  1103.             Members
  1104.         </li>
  1105.         <li class='group_icon'>
  1106.            
  1107.                 <img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' />
  1108.            
  1109.             </li>
  1110.        
  1111.         <li class='post_count desc lighter'>
  1112.             282 posts
  1113.         </li>
  1114.        
  1115.         <li>
  1116.                
  1117.                 <a class='desc lighter blend_links' href='http://community.casiocalc.org/index.php?app=members&amp;module=profile&amp;section=warnings&amp;member=3463&amp;from_app=forums&amp;from_id1=54610&amp;from_id2=' id='warn_link_54610_3463' title='View warn history'>1 warning points</a>
  1118.             </li>
  1119.     </ul>
  1120.    
  1121.    
  1122.         <ul class='custom_fields'>
  1123.            
  1124.                
  1125.                    
  1126.                
  1127.  
  1128.                    
  1129.                
  1130.  
  1131.                    
  1132.                
  1133.            
  1134.  
  1135.                
  1136.                    
  1137.                
  1138.            
  1139.         </ul>
  1140.    
  1141.    
  1142. </div>
  1143.             </div>
  1144.             <div class='post_body'>
  1145.                 <p class='posted_info desc lighter ipsType_small'>
  1146.                     Posted <abbr class="published" itemprop="commentTime" title="2012-05-14T12:53:27+00:00">14 May 2012 - 08:53 AM</abbr>
  1147.                 </p>
  1148.                
  1149.                 <div itemprop="commentText" class='post entry-content '>
  1150.                     This is my solution when reading keys:<br />
  1151. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  1152. While Getkey
  1153. WhileEnd
  1154. Do
  1155. Getkey
  1156. LpWhile Not Ans // Or any specific key
  1157. </pre>
  1158.                    
  1159.                     <br />
  1160.                    
  1161.                 </div>
  1162.                
  1163.                
  1164.                 <div class='ipsLikeBar right clearfix' id='rep_post_54610'>
  1165.                 <ul class='ipsList_inline'>
  1166.                     <li id="like_post_54610" class='ipsLikeBar_info' style="display:none">
  1167.                            
  1168.                         </li>
  1169.                     <li >
  1170.                             <a class='ipsLikeButton ipsLikeButton_enabled rep_up' href='http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=54610&amp;rating=1&amp;secure_key=85693ce2832e72fe1a4a8e234ffdad53&amp;post_return=54610' title='Like this item'>Like This</a>
  1171.                         </li>
  1172.                         <li style="display:none">
  1173.                             <a class='ipsLikeButton ipsLikeButton_disabled rep_down' href='http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=54610&amp;rating=-1&amp;secure_key=85693ce2832e72fe1a4a8e234ffdad53&amp;post_return=54610' title='Remove like for this item'>Unlike</a>
  1174.                         </li>
  1175.                 </ul>
  1176.             </div>
  1177. <script type='text/javascript'>
  1178.     ipb.global.registerReputation( 'rep_post_54610', { domLikeStripId: 'like_post_54610', app: 'forums', type: 'pid', typeid: '54610' }, parseInt('0') );
  1179. </script>
  1180.                
  1181.                                
  1182.                
  1183.                
  1184.                
  1185.            
  1186.                 <ul id='postControlsNormal_54610' class='post_controls clear clearfix' >
  1187.                     <li class='top hide'><a href='#ipboard_body' class='top' title='Back to top'>Back to top</a></li>
  1188.                     <li><a href="http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784&amp;qpid=54610"  class='_ips_trigger_quote ipsButton_secondary' pid="54610" title="Reply directly to this post">Quote</a></li>
  1189.                            
  1190.                                 <li class='multiquote' id='multiq_54610' style='display: none'>
  1191.                            
  1192.                                 <a href="http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784&amp;qpid=54610" title="MultiQuote allows you to select multiple posts across multiple topics, then reply to them all at once" class='ipsButton_secondary'>MultiQuote</a>
  1193.                             </li>
  1194.                    
  1195.                         <li id='del_post_54610' class='post_del'>
  1196.                             <a href='http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=deletedo&amp;f=39&amp;t=6784&amp;selectedpids[]=54610&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53' title='Delete this post' class='delete_post' onclick='return false;' >Delete</a>
  1197.                         </li>
  1198.                    
  1199.                    
  1200.                         <li id='hide_post_54610'>
  1201.                             <a href='http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=delete&amp;f=39&amp;t=6784&amp;selectedpids[]=54610&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53' class='hide_post'>Hide</a>
  1202.                         </li>
  1203.                    
  1204.                    
  1205.                         <li class='post_edit'><a href='http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=edit_post&amp;f=39&amp;t=6784&amp;p=54610&amp;st=' title='Edit this post' class='edit_post' id='edit_post_54610'>Edit</a></li>
  1206.                    
  1207.                    
  1208.                     <li class='report'>
  1209.                             <a href='http://community.casiocalc.org/index.php?app=core&amp;module=reports&amp;rcom=post&amp;tid=6784&amp;pid=54610&amp;st='>Report</a>
  1210.                         </li>
  1211.                        
  1212.                 </ul>
  1213.                    
  1214.             </div>
  1215.         </div>
  1216.     </div>
  1217.        
  1218.        
  1219.         <hr />
  1220.        
  1221.        
  1222. <script type="text/javascript">
  1223. var pid = parseInt(54610);
  1224. if ( pid > ipb.topic.topPid ){
  1225.     ipb.topic.topPid = pid;
  1226. }
  1227.  
  1228.     // Show multiquote for JS browsers
  1229.     if ( $('multiq_54610') )
  1230.     {
  1231.         $('multiq_54610').show();
  1232.     }
  1233.    
  1234.     if( $('toggle_post_54610') )
  1235.     {
  1236.         $('toggle_post_54610').show();
  1237.     }
  1238.    
  1239.     // Add perm data
  1240.     ipb.topic.deletePerms[54610] = { 'canDelete' : 1, 'canSoftDelete' : 1 };
  1241.  
  1242. </script>
  1243.            
  1244.  
  1245.                 <!--post:54612-->
  1246.  
  1247. <div class='post_block hentry clear clearfix ' id='post_id_54612'>
  1248.         <a id='entry54612'></a>
  1249.        
  1250.    
  1251.        
  1252.         <div class='post_wrap' >
  1253.            
  1254.                 <h3 class='row2'>
  1255.            
  1256.                 <span class='right'>
  1257.                         <label for='checkbox_54612' class='post_mod hide'>Select this post for moderation</label><input type='checkbox' id='checkbox_54612' name='selectedpids[]' value='54612' class='post_mod right' data-status='0' />
  1258.                     </span>
  1259.                 <span class='post_id right ipsType_small desc blend_links'>
  1260.                    
  1261.                         <a itemprop="replyToUrl" href='http://community.casiocalc.org/topic/6784-the-truth-about-getkey/#entry54612' rel='bookmark' title='The Truth About Getkey: post #4'>
  1262.                    
  1263.                     #4
  1264.                     </a>
  1265.                 </span>
  1266.                
  1267.                     <span itemprop="creator name" class="author vcard"><a hovercard-ref="member" hovercard-id="8705" class="_hovertrigger url fn name " href='http://community.casiocalc.org/user/8705-flyingfisch/' title='View Profile'><span itemprop="name">flyingfisch</span></a></span>
  1268.                
  1269.            
  1270.                 <span class='ip right ipsType_small'>(IP:
  1271.                    
  1272.                         <em>Private</em>
  1273.                     )
  1274.                     </span>
  1275.             </h3>
  1276.             <div class='author_info'>
  1277.                 <div itemscope itemtype="http://schema.org/Person" class='user_details'>
  1278.     <span class='hide' itemprop="name">flyingfisch</span>
  1279.     <ul class='basic_info'>
  1280.        
  1281.             <p class='desc member_title'>Casio Overlord</p>
  1282.        
  1283.         <li class='avatar'>
  1284.                
  1285.                 <a itemprop="url" href="http://community.casiocalc.org/user/8705-flyingfisch/" title="View Profile: flyingfisch" class='ipsUserPhotoLink'>
  1286.                
  1287.                
  1288.                     <img itemprop="image" src='http://www.gravatar.com/avatar/c2b06fbfe35d23dd71368c02157006ee?s=100&amp;d=http%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png' class='ipsUserPhoto ipsUserPhoto_large' />
  1289.                
  1290.                
  1291.                 </a>
  1292.                
  1293.             </li>
  1294.         <li class='group_title'>
  1295.             <span style='color:orange'>Deputy</span>
  1296.         </li>
  1297.         <li class='group_icon'>
  1298.            
  1299.                 <img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' /><img src='/dot/public/style_images/master/bullet_black.png' alt='Pip' />
  1300.            
  1301.             </li>
  1302.        
  1303.         <li class='post_count desc lighter'>
  1304.             626 posts
  1305.         </li>
  1306.        
  1307.         <li>
  1308.                
  1309.                 <a class='desc lighter blend_links' href='http://community.casiocalc.org/index.php?app=members&amp;module=profile&amp;section=warnings&amp;member=8705&amp;from_app=forums&amp;from_id1=54612&amp;from_id2=' id='warn_link_54612_8705' title='View warn history'>0 warning points</a>
  1310.             </li>
  1311.     </ul>
  1312.    
  1313.    
  1314.         <ul class='custom_fields'>
  1315.            
  1316.                
  1317.                    
  1318.                         <li>
  1319.                             <span class='ft'>Gender:</span><span class='fc'>Male</span>
  1320.                         </li>
  1321.                    
  1322.                
  1323.  
  1324.                    
  1325.                         <li>
  1326.                             <span class='ft'>Location:</span><span class='fc'>OH,USA</span>
  1327.                         </li>
  1328.                    
  1329.                
  1330.  
  1331.                    
  1332.                         <li>
  1333.                             <span class='ft'>Interests:</span><span class='fc'>Casio Calculators, Python programming, Flash 8, PHP, Lua (kind of), plane-watching, aviation, skiing, running, umm... Calculators, Python -- wait a second, I already said that!</span>
  1334.                         </li>
  1335.                    
  1336.                
  1337.            
  1338.  
  1339.                
  1340.                    
  1341.                         <li>
  1342.                             <br /><strong>Calculators:</strong><br />
  1343. Hacked fx-9750gii (in other words, an fx-9860gii without SD)<br />
  1344. fx-CG 10 PRIZM<br />
  1345.                         </li>
  1346.                    
  1347.                
  1348.            
  1349.         </ul>
  1350.    
  1351.    
  1352. </div>
  1353.             </div>
  1354.             <div class='post_body'>
  1355.                 <p class='posted_info desc lighter ipsType_small'>
  1356.                     Posted <abbr class="published" itemprop="commentTime" title="2012-05-14T13:55:03+00:00">14 May 2012 - 09:55 AM</abbr>
  1357.                 </p>
  1358.                
  1359.                 <div itemprop="commentText" class='post entry-content '>
  1360.                     <p class='citation'><a class='snapback' rel='citation' href='http://community.casiocalc.org/index.php?app=forums&amp;module=forums&amp;section=findpost&amp;pid=54610'><img src='/dot/public/style_images/master/snapback.png' alt='View Post' /></a>cfxm_left_UCF, on May 14 2012, 08&#58;53 AM, said:</p><div class="blockquote"><div class='quote'>This is my solution when reading keys:<br />
  1361. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  1362. While Getkey
  1363. WhileEnd
  1364. Do
  1365. Getkey
  1366. LpWhile Not Ans // Or any specific key
  1367. </pre></div></div>
  1368. <br />
  1369. That is very clever. I see how that works. The first loop will not break if the key is still pressed and the second waits for a new key. I am going to put this in the original post. <img src='/dot/public/style_emoticons/default/wink2.gif' class='bbc_emoticon' alt=';)' /><br />
  1370. <br />
  1371. <p class='citation'><a class='snapback' rel='citation' href='http://community.casiocalc.org/index.php?app=forums&amp;module=forums&amp;section=findpost&amp;pid=54607'><img src='/dot/public/style_images/master/snapback.png' alt='View Post' /></a>Naga, on May 13 2012, 11&#58;40 PM, said:</p><div class="blockquote"><div class='quote'>Nice examples.<br />
  1372. <br />
  1373. Here is my code.<br />
  1374. <br />
  1375. <br />
  1376. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  1377. ?-&#62;K
  1378.  
  1379. Do&#58;Getkey
  1380.  
  1381. Lpwhile Not Ans
  1382.  
  1383. Ans=79&#40;F1&#41;=&#62;K+1-&#62;K
  1384.  
  1385. Ans=69&#40;F2&#41;=&#62;K+2-&#62;K
  1386.  
  1387. Locate 1,1,K
  1388. </pre>
  1389. <br />
  1390. First am inputting K value.<br />
  1391. <br />
  1392. If I press F1 it should add 1 to the K value and then print the result.<br />
  1393. <br />
  1394. Suppose if I press the number 10 it should take 10 as input and then display the value.<br />
  1395. <br />
  1396. How to solve this?</div></div>
  1397. <br />
  1398. Using CFXM&#39;s method:<br />
  1399. <br />
  1400. <pre class='prettyprint' style='max-height: 250px; overflow: auto;'>
  1401. ?-&#62;K
  1402. // as long as the EXE button is pressed, the loop below will continue.
  1403. While Getkey
  1404. WhileEnd
  1405. // after EXE is released, this loop runs
  1406. Do&#58;Getkey
  1407. Lpwhile Not Ans
  1408.  
  1409. Ans=79&#40;F1&#41;=&#62;K+1-&#62;K
  1410.  
  1411. Ans=69&#40;F2&#41;=&#62;K+2-&#62;K
  1412.  
  1413. Locate 1,1,K
  1414. </pre>
  1415.                    
  1416.                     <br />
  1417.                    
  1418.                 </div>
  1419.                
  1420.                
  1421.                 <div class='ipsLikeBar right clearfix' id='rep_post_54612'>
  1422.                 <ul class='ipsList_inline'>
  1423.                     <li id="like_post_54612" class='ipsLikeBar_info' style="display:none">
  1424.                            
  1425.                         </li>
  1426.                     <li >
  1427.                             <a class='ipsLikeButton ipsLikeButton_enabled rep_up' href='http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=54612&amp;rating=1&amp;secure_key=85693ce2832e72fe1a4a8e234ffdad53&amp;post_return=54612' title='Like this item'>Like This</a>
  1428.                         </li>
  1429.                         <li style="display:none">
  1430.                             <a class='ipsLikeButton ipsLikeButton_disabled rep_down' href='http://community.casiocalc.org/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=54612&amp;rating=-1&amp;secure_key=85693ce2832e72fe1a4a8e234ffdad53&amp;post_return=54612' title='Remove like for this item'>Unlike</a>
  1431.                         </li>
  1432.                 </ul>
  1433.             </div>
  1434. <script type='text/javascript'>
  1435.     ipb.global.registerReputation( 'rep_post_54612', { domLikeStripId: 'like_post_54612', app: 'forums', type: 'pid', typeid: '54612' }, parseInt('0') );
  1436. </script>
  1437.                
  1438.                                
  1439.                
  1440.                     <div class="signature" data-memberid="8705">
  1441.    
  1442.     <!--signature-cached-Sun, 01 Jul 2012 18:37:14 +0000--><a href='http://casiocalc.org' class='bbc_url' title='External link' rel='nofollow external'><img src='http://userbars.removedfromgame.com/ub/flyingfisch427.png' alt='Posted Image' class='bbc_img' /></a><span rel='lightbox'><img src='http://userbars.removedfromgame.com/ub/flyingfisch406.png' alt='Posted Image' class='bbc_img' /></span><br />
  1443. <a href='http://casio.clrhome.org' class='bbc_url' title='External link' rel='nofollow external'><img src='http://img.removedfromgame.com/imgs/left.png' alt='Posted Image' class='bbc_img' /></a><a href='http://clrhome.org' class='bbc_url' title='External link' rel='nofollow external'><img src='http://img.removedfromgame.com/imgs/0-right.png' alt='Posted Image' class='bbc_img' /></a><span rel='lightbox'><img src='http://img.removedfromgame.com/imgs/0-calcs.png' alt='Posted Image' class='bbc_img' /></span>
  1444. </div>
  1445.                
  1446.                
  1447.                
  1448.            
  1449.                 <ul id='postControlsNormal_54612' class='post_controls clear clearfix' >
  1450.                     <li class='top hide'><a href='#ipboard_body' class='top' title='Back to top'>Back to top</a></li>
  1451.                     <li><a href="http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784&amp;qpid=54612"  class='_ips_trigger_quote ipsButton_secondary' pid="54612" title="Reply directly to this post">Quote</a></li>
  1452.                            
  1453.                                 <li class='multiquote' id='multiq_54612' style='display: none'>
  1454.                            
  1455.                                 <a href="http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=reply_post&amp;f=39&amp;t=6784&amp;qpid=54612" title="MultiQuote allows you to select multiple posts across multiple topics, then reply to them all at once" class='ipsButton_secondary'>MultiQuote</a>
  1456.                             </li>
  1457.                    
  1458.                         <li id='del_post_54612' class='post_del'>
  1459.                             <a href='http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=deletedo&amp;f=39&amp;t=6784&amp;selectedpids[]=54612&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53' title='Delete this post' class='delete_post' onclick='return false;' >Delete</a>
  1460.                         </li>
  1461.                    
  1462.                    
  1463.                         <li id='hide_post_54612'>
  1464.                             <a href='http://community.casiocalc.org/index.php?app=forums&amp;module=moderate&amp;section=moderate&amp;do=postchoice&amp;tact=delete&amp;f=39&amp;t=6784&amp;selectedpids[]=54612&amp;st=&amp;auth_key=85693ce2832e72fe1a4a8e234ffdad53' class='hide_post'>Hide</a>
  1465.                         </li>
  1466.                    
  1467.                    
  1468.                         <li class='post_edit'><a href='http://community.casiocalc.org/index.php?app=forums&amp;module=post&amp;section=post&amp;do=edit_post&amp;f=39&amp;t=6784&amp;p=54612&amp;st=' title='Edit this post' class='edit_post' id='edit_post_54612'>Edit</a></li>
  1469.                    
  1470.                    
  1471.                     <li class='report'>
  1472.                             <a href='http://community.casiocalc.org/index.php?app=core&amp;module=reports&amp;rcom=post&amp;tid=6784&amp;pid=54612&amp;st='>Report</a>
  1473.                         </li>
  1474.                        
  1475.                 </ul>
  1476.                    
  1477.             </div>
  1478.         </div>
  1479.     </div>
  1480.        
  1481.        
  1482.         <hr />
  1483.        
  1484.        
  1485. <script type="text/javascript">
  1486. var pid = parseInt(54612);
  1487. if ( pid > ipb.topic.topPid ){
  1488.     ipb.topic.topPid = pid;
  1489. }
  1490.  
  1491.     // Show multiquote for JS browsers
  1492.     if ( $('multiq_54612') )
  1493.     {
  1494.         $('multiq_54612').show();
  1495.     }
  1496.    
  1497.     if( $('toggle_post_54612') )
  1498.     {
  1499.         $('toggle_post_54612').show();
  1500.     }
  1501.    
  1502.     // Add perm data
  1503.     ipb.topic.deletePerms[54612] = { 'canDelete' : 1, 'canSoftDelete' : 1 };
  1504.  
  1505. </script>
  1506.            
  1507.         </div>
  1508.     </div>
  1509.  
  1510. <hr />
  1511. <div class='topic_controls clear ipsPad_top_bottom_half'>
  1512.    
  1513.     <div class='ipsPad_top_slimmer right'>
  1514.        
  1515.             <a href='#' id='topic_mod_options_alt'  class="ipsType_small desc" title='Topic Moderation'>Topic Moderation</a> &middot;
  1516.        
  1517.         <a href='http://community.casiocalc.org/forum/39-casio-basic/' class="ipsType_small desc">Back to Casio Basic</a>
  1518.        
  1519.     </div> 
  1520. </div>
  1521. <hr />
  1522. <div class='ipsBox' id='fast_reply_wrapper'>
  1523.     <div class='ipsBox_container ipsPad'>
  1524.         <h1 class='ipsType_subtitle'>Reply to this topic</h1>
  1525.        
  1526.         <br />
  1527.        
  1528.             <a href="http://community.casiocalc.org/user/8705-flyingfisch/" title='Your Profile' class='ipsUserPhotoLink left'><img src='http://www.gravatar.com/avatar/c2b06fbfe35d23dd71368c02157006ee?s=100&amp;d=http%3A%2F%2Fcommunity.casiocalc.org%2Fdot%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png' alt="flyingfisch&#39;s Photo" class='ipsUserPhoto ipsUserPhoto_medium' /></a>
  1529.        
  1530.         <div class='ipsBox_withphoto clearfix'>
  1531.             <form action="http://community.casiocalc.org/index.php?" method="post" id='ips_fastReplyForm'>
  1532.                 <input type="hidden" name="app" value="forums" />
  1533.                 <input type="hidden" name="module" value="post" />
  1534.                 <input type="hidden" name="section" value="post" />
  1535.                 <input type="hidden" name="do" value="reply_post_do" />
  1536.                 <input type="hidden" name="f" value="39" />
  1537.                 <input type="hidden" name="t" value="6784" />
  1538.                 <input type="hidden" name="st" value="" />
  1539.                 <input type="hidden" name="auth_key" value="85693ce2832e72fe1a4a8e234ffdad53" />
  1540.                 <input type="hidden" name="fast_reply_used" value="1" />
  1541.                 <input type="hidden" name="enableemo" value="yes" />
  1542.                 <input type="hidden" name="enablesig" value="yes" />
  1543.                
  1544.        
  1545.        
  1546.         <script type="text/javascript" src="/dot/public/js/3rd_party/ckeditor/ckeditor.js"></script>
  1547.    
  1548.     <script type="text/javascript">
  1549.         /* Dynamic items */
  1550.         CKEDITOR.config.IPS_BBCODE          = {"acronym":{"id":"8","title":"Acronym","desc":"Allows you to make an acronym that will display a description when moused over","tag":"acronym","useoption":"1","example":"[acronym='Laugh Out Loud']lol[/acronym]","switch_option":"0","menu_option_text":"Enter the description for this acronym (EG: Laugh Out Loud)","menu_content_text":"Enter the acronym (EG: lol)","single_tag":"0","optional_option":"0","image":""},"ADMIN":{"id":"39","title":"Admin Note Tag","desc":"admin use only. its just a shortcut for placing edit notes in other peoples posts.","tag":"ADMIN","useoption":"1","example":"","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"background":{"id":"27","title":"Background-color","desc":"Adds a background color behind the text","tag":"background","useoption":"1","example":"[background=red]Red background behind this text[/background]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"code":{"id":"13","title":"Code","desc":"Allows you to enter general code","tag":"code","useoption":"0","example":"[code]$text = 'Some long code here';[/code]","switch_option":"0","menu_option_text":"","menu_content_text":"Code","single_tag":"0","optional_option":"0","image":""},"edit":{"id":"38","title":"Edit","desc":"use this to distinguish any additions you've made to a post.","tag":"edit","useoption":"0","example":"[edit]oops, i forgot this[/edit]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"highlight":{"id":"41","title":"Highlight","desc":"allows you to add a colored background to text.","tag":"highlight","useoption":"1","example":"[highlight=red]evil text![/highlight]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"hr":{"id":"12","title":"Horizontal Rule","desc":"Adds a horizontal rule to separate text","tag":"hr","useoption":"0","example":"[hr]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"1","optional_option":"0","image":""},"html":{"id":"15","title":"HTML Code","desc":"Allows you to enter formatted/syntax-highlighted HTML code","tag":"html","useoption":"0","example":"[html]<div class='outer'>\n  <p>Hello World</p>\n </div>[/html]","switch_option":"0","menu_option_text":"","menu_content_text":"HTML Code","single_tag":"0","optional_option":"0","image":""},"media":{"id":"32","title":"Media","desc":"Allows a user to post media content from certain common media sites","tag":"media","useoption":"1","example":"[media]http://www.youtube.com/watch?v=YqqLx-2vUr0[/media]","switch_option":"0","menu_option_text":"Dimensions (Flash Only)","menu_content_text":"Media URL","single_tag":"0","optional_option":"1","image":""},"member":{"id":"31","title":"Member","desc":"Given a member name, a link is automatically generated to the member's profile","tag":"member","useoption":"1","example":"[member=admin] runs this site.","switch_option":"0","menu_option_text":"Member Name","menu_content_text":"","single_tag":"1","optional_option":"0","image":""},"MOD":{"id":"40","title":"Mod Note Tag","desc":"used by moderators to put notes in other peoples posts, mearly a shortcut to save time.","tag":"MOD","useoption":"1","example":"","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"offtopic":{"id":"44","title":"Off Topic","desc":"Allows posters to show where they are making an offtopic comment","tag":"offtopic","useoption":"0","example":"","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"php":{"id":"14","title":"PHP Code","desc":"Allows you to enter PHP code into a formatted/highlighted syntax box","tag":"php","useoption":"0","example":"[php]$variable = true;\n\nprint_r($variable);[/php]","switch_option":"0","menu_option_text":"","menu_content_text":"PHP Code","single_tag":"0","optional_option":"0","image":""},"post":{"id":"6","title":"Post Link","desc":"This tag provides an easy way to link to a post.","tag":"post","useoption":"1","example":"[post=1]Click me![/post]","switch_option":"0","menu_option_text":"Enter the Post ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"rtl":{"id":"45","title":"right to left","desc":"used to render the text right-to-left, used for rendering Persian and Arabic","tag":"rtl","useoption":"0","example":"[rtl]{content}[/rtl]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"spoiler":{"id":"7","title":"Spoiler","desc":"Spoiler tag","tag":"spoiler","useoption":"0","example":"[spoiler]Some hidden text[/spoiler]","switch_option":"0","menu_option_text":"","menu_content_text":"Enter the text to be masked","single_tag":"0","optional_option":"0","image":""},"sql":{"id":"16","title":"SQL Code","desc":"Allows you to enter formatted/syntax-highlighted SQL code","tag":"sql","useoption":"0","example":"[sql]SELECT p.*, t.* FROM posts p LEFT JOIN topics t ON t.tid=p.topic_id WHERE t.tid=7[/sql]","switch_option":"0","menu_option_text":"","menu_content_text":"SQL Commands","single_tag":"0","optional_option":"0","image":""},"table":{"id":"35","title":"Table","desc":"Creates a single celled table for grouping purposes. use with [tr] and [td] to make tables just like you would in html.","tag":"table","useoption":"1","example":"[table={border_size}]content here[/table]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"td":{"id":"37","title":"Table Column","desc":"adds a column to your table, use between [tr] and [/tr]","tag":"td","useoption":"0","example":"[table=1][tr][td]col 1[/td][td]col 2[/td][/tr][/table]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"tr":{"id":"36","title":"Table Row","desc":"works with [table] to add a row to your table.","tag":"tr","useoption":"0","example":"[table=1][tr][td]row 1[/td][/tr][tr][td]row 2[/td][/tr][/table]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"tel":{"id":"43","title":"Teletype","desc":"Creates typewriter text","tag":"tel","useoption":"0","example":"[tel]abcd[/tel]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"@":{"id":"42","title":"To","desc":"used to indicate that the following text is directed at a specific person.","tag":"@","useoption":"1","example":"[@=CrimsonCasio]hi![/@]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"topic":{"id":"5","title":"Topic Link","desc":"This tag provides an easy way to link to a topic","tag":"topic","useoption":"1","example":"[topic=1]Click me![/topic]","switch_option":"0","menu_option_text":"Enter the topic ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"twitter":{"id":"33","title":"Twitter","desc":"A tag to link to a user's twitter account","tag":"twitter","useoption":"0","example":"[twitter]userName[/twitter]","switch_option":"0","menu_option_text":"","menu_content_text":"Twitter Username","single_tag":"0","optional_option":"0","image":"twitter.png"},"xml":{"id":"17","title":"XML Code","desc":"Allows you to enter formatted/syntax-highlighted XML code","tag":"xml","useoption":"0","example":"[xml]<outer>\n <inner>\n  <tag param='1'>Test</tag>\n </inner>\n</outer>[/xml]","switch_option":"0","menu_option_text":"","menu_content_text":"XML Code","single_tag":"0","optional_option":"0","image":""}};
  1551.         CKEDITOR.config.IPS_BBCODE_IMG_URL  = "/dot/public/style_extra/bbcode_icons";
  1552.         CKEDITOR.config.IPS_BBCODE_BUTTONS  = [];
  1553.        
  1554.         /* Has to go before config load */
  1555.         var IPS_smiley_path         = "/dot/public/style_emoticons/default/";
  1556.         var IPS_smiles              = {"total":117,"count":20,"emoticons":[{"src":"rolleyes.gif","text":":rolleyes:"},{"src":"iwstupidl.gif","text":":iwstupidl:"},{"src":"thumbs_up.gif","text":":thumbsup:"},{"src":"wacko.png","text":":wacko:"},{"src":"banghead.gif","text":":banghead:"},{"src":"yikes.gif","text":"8O"},{"src":"cry.gif","text":":&#39;("},{"src":"rtfm.gif","text":":r-t-f-m:"},{"src":"motz.gif","text":":rant:"},{"src":"excl.png","text":":&#33;:"},{"src":"Instagib.gif","text":":die:"},{"src":"rockband.gif","text":":rockband:"},{"src":"r.bmp","text":":r:"},{"src":"naughty.gif","text":":naughty:"},{"src":"yesnod.gif","text":":nod:"},{"src":"wub.png","text":":wub:"},{"src":"demon.gif","text":":crimson:"},{"src":"greengrin.gif","text":":greengrin:"},{"src":"crazy.gif","text":":crazy:"},{"src":"icon_evil.gif","text":":evil:"}]};
  1557.         var IPS_remove_plugins      = [];
  1558.         var IPS_hide_contextMenu    = 0;
  1559.         var IPS_rclick_contextMenu  = 0;
  1560.        
  1561.         /* Load our configuration */
  1562.         CKEDITOR.config.customConfig  = '/dot/public/js/3rd_party/ckeditor/ips_config.js';
  1563.     </script>
  1564.  
  1565.    
  1566.     <input type='hidden' name='isRte' id='isRte_editor_4ff0ef170589f' value='1' />
  1567.     <input type='hidden' name='noSmilies' id='noSmilies_editor_4ff0ef170589f' value='0' />
  1568.     <textarea id="editor_4ff0ef170589f" name="Post" class='ipsEditor_textarea input_text'></textarea>
  1569.     <p class='desc ipsPad' style='display: none' id='editor_html_message_editor_4ff0ef170589f'>HTML mode is enabled. The rich text editor is not available while HTML is enabled. You may lose some formatting when you deselect HTML mode and switch back to the rich text editor.</p>
  1570.     <script type="text/javascript">
  1571.         ipb.textEditor.initialize('editor_4ff0ef170589f', { type: 'full',
  1572.                                                                 height: 180,
  1573.                                                                 minimize: '1',
  1574.                                                                 bypassCKEditor: 0,
  1575.                                                                 delayInit: 0,
  1576.                                                                 isHtml: 0,
  1577.                                                                 isRte: 1,
  1578.                                                                 noSmilies: 0,
  1579.                                                                 isTypingCallBack: ipb.topic.isTypingCallBack,
  1580.                                                                 ips_AutoSaveKey: 'a719a7c5ece071be54aa89908e6293d9',
  1581.                                                                 ips_AutoSaveData: [] } );
  1582.     </script>
  1583.                 <br />
  1584.                
  1585.                 <fieldset class='right' id='fast_reply_controls'>
  1586.                     <input type='submit' name="submit" class='input_submit' value='Post' tabindex='3' accesskey='s' id='submit_post' />&nbsp;&nbsp;<input type='submit' name="preview" class='input_submit alt' value='More Reply Options' tabindex='0' id='full_compose' />           
  1587.                 </fieldset>
  1588.             </form>
  1589.         </div>
  1590.         <div id='ips_HasReplies'></div>
  1591.     </div>
  1592. </div>
  1593. <script type='text/javascript'>
  1594.     ipb.topic.fastReplyId   = 'editor_4ff0ef170589f';
  1595. </script>
  1596. <!-- Close topic -->
  1597. </div>
  1598. <!-- BOTTOM BUTTONS -->
  1599.  
  1600.     <br />
  1601.     <div class='clear clearfix left'>
  1602.        
  1603.  
  1604.     <ul class='topic_share left shareButtons ipsList_inline'>
  1605.    
  1606.         <li><a href="http://community.casiocalc.org/index.php?sharelink=twitter;aHR0cDovL2NvbW11bml0eS5jYXNpb2NhbGMub3JnL3RvcGljLzY3ODQtdGhlLXRydXRoLWFib3V0LWdldGtleS8,;VGhlIFRydXRoIEFib3V0IEdldGtleQ,," rel="nofollow" target="_blank" title="Share this link via Twitter" class='_slink' id='slink_twitter'><img src="/dot/public/style_extra/sharelinks/twitter.png" /></a></li>
  1607.    
  1608.  
  1609.        
  1610.                 <li class='fbLike'><div class="fb-like" data-href="http://community.casiocalc.org/topic/6784-the-truth-about-getkey/" data-send="false" data-layout="button_count" data-width="150" data-show-faces="false" data-action="like"></div><div id="fb-root"></div></li>
  1611. <script>(function(d, s, id) {
  1612.   var js, fjs = d.getElementsByTagName(s)[0];
  1613.   if (d.getElementById(id)) return;
  1614.   js = d.createElement(s); js.id = id;
  1615.   js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=";
  1616.   fjs.parentNode.insertBefore(js, fjs);
  1617. }(document, 'script', 'facebook-jssdk'));</script>
  1618.            
  1619.    
  1620.  
  1621.        
  1622.                 <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
  1623.    
  1624.         {lang: 'en-GB'}
  1625.    
  1626. </script>
  1627. <li><div class='googlePlusOne'><g:plusone count="false" size="small"></g:plusone></div></li>
  1628.            
  1629.    
  1630.  
  1631.         <li><a href="http://community.casiocalc.org/index.php?sharelink=digg;aHR0cDovL2NvbW11bml0eS5jYXNpb2NhbGMub3JnL3RvcGljLzY3ODQtdGhlLXRydXRoLWFib3V0LWdldGtleS8,;VGhlIFRydXRoIEFib3V0IEdldGtleQ,," rel="nofollow" target="_blank" title="Share this link via Digg" class='_slink' id='slink_digg'><img src="/dot/public/style_extra/sharelinks/digg.png" /></a></li>
  1632.    
  1633.  
  1634.         <li><a href="http://community.casiocalc.org/index.php?sharelink=delicious;aHR0cDovL2NvbW11bml0eS5jYXNpb2NhbGMub3JnL3RvcGljLzY3ODQtdGhlLXRydXRoLWFib3V0LWdldGtleS8,;VGhlIFRydXRoIEFib3V0IEdldGtleQ,," rel="nofollow" target="_blank" title="Share this link via Del.icio.us" class='_slink' id='slink_delicious'><img src="/dot/public/style_extra/sharelinks/delicious.png" /></a></li>
  1635.    
  1636.  
  1637.         <li><a href="http://community.casiocalc.org/index.php?sharelink=reddit;aHR0cDovL2NvbW11bml0eS5jYXNpb2NhbGMub3JnL3RvcGljLzY3ODQtdGhlLXRydXRoLWFib3V0LWdldGtleS8,;VGhlIFRydXRoIEFib3V0IEdldGtleQ,," rel="nofollow" target="_blank" title="Share this link via Reddit" class='_slink' id='slink_reddit'><img src="/dot/public/style_extra/sharelinks/reddit.png" /></a></li>
  1638.    
  1639.  
  1640.         <li><a href="http://community.casiocalc.org/index.php?sharelink=stumble;aHR0cDovL2NvbW11bml0eS5jYXNpb2NhbGMub3JnL3RvcGljLzY3ODQtdGhlLXRydXRoLWFib3V0LWdldGtleS8,;VGhlIFRydXRoIEFib3V0IEdldGtleQ,," rel="nofollow" target="_blank" title="Share this link via StumbleUpon" class='_slink' id='slink_stumble'><img src="/dot/public/style_extra/sharelinks/stumble.png" /></a></li>
  1641.    
  1642.  
  1643.         <li><a href="http://community.casiocalc.org/index.php?sharelink=email;aHR0cDovL2NvbW11bml0eS5jYXNpb2NhbGMub3JnL3RvcGljLzY3ODQtdGhlLXRydXRoLWFib3V0LWdldGtleS8,;VGhlIFRydXRoIEFib3V0IEdldGtleQ,," rel="nofollow" target="_blank" title="Share this link via Email" class='_slink' id='slink_email'><img src="/dot/public/style_extra/sharelinks/email.png" /></a></li>
  1644.    
  1645.  
  1646.         <li><a href="http://community.casiocalc.org/index.php?sharelink=print;aHR0cDovL2NvbW11bml0eS5jYXNpb2NhbGMub3JnL3RvcGljLzY3ODQtdGhlLXRydXRoLWFib3V0LWdldGtleS8,;VGhlIFRydXRoIEFib3V0IEdldGtleQ,," rel="nofollow" target="_blank" title="Print" class='_slink' id='slink_print'><img src="/dot/public/style_extra/sharelinks/print.png" /></a></li>
  1647.    
  1648.  
  1649.         <li><a href="http://community.casiocalc.org/index.php?sharelink=download;aHR0cDovL2NvbW11bml0eS5jYXNpb2NhbGMub3JnL3RvcGljLzY3ODQtdGhlLXRydXRoLWFib3V0LWdldGtleS8,;VGhlIFRydXRoIEFib3V0IEdldGtleQ,," rel="nofollow" target="_blank" title="Download" class='_slink' id='slink_download'><img src="/dot/public/style_extra/sharelinks/download.png" /></a></li>
  1650.    
  1651.     </ul>
  1652.     <script type="text/javascript">
  1653.         ipb.sharelinks.url   = "http://community.casiocalc.org/topic/6784-the-truth-about-getkey/";
  1654.         ipb.sharelinks.title = "The Truth About Getkey";
  1655.         ipb.sharelinks.bname = "Universal Casio Forum";
  1656.     </script>
  1657.  
  1658.     </div>
  1659.     <br />
  1660.  
  1661. <!-- SAME TAGGED -->
  1662.  
  1663. <!-- ACTIVE USERS -->
  1664. <div id='topic_stats' class='statistics clear clearfix'>
  1665.         <div id='topic_active_users' class='active_users'>
  1666.             <h4 class='statistics_head'>1 user(s) are reading this topic</h4>
  1667.             <p class='statistics_brief desc'>1 members, 0 guests, 0 anonymous users</p>
  1668.            
  1669.                 <br />
  1670.                 <ul class='ipsList_inline'>
  1671.                     <a hovercard-ref="member" hovercard-id="8705" class="_hovertrigger url fn name  " href='http://community.casiocalc.org/user/8705-flyingfisch/' title='View Profile'><span itemprop="name"><span style='color:orange'>flyingfisch</span></span></a>
  1672.                 </ul>
  1673.            
  1674.         </div>
  1675.     </div>
  1676.  
  1677.  
  1678.     <script type="text/javascript" src="/dot/public/js/3rd_party/prettify/prettify.js"></script>
  1679.     <script type='text/javascript' src='/dot/public/js/3rd_party/prettify/lang-sql.js'></script>
  1680.     <!-- By default we load generic code, php, css, sql and xml/html; load others here if desired -->
  1681.     <script type="text/javascript">
  1682.     //<![CDATA[
  1683.         Event.observe( window, 'load', function(e){ prettyPrint() });
  1684.     //]]>
  1685.     </script>
  1686. <div id='multiQuoteInsert' style='display: none;' class='ipsFloatingAction'>
  1687.     <span class='ipsButton no_width' id='mqbutton'>Reply to quoted posts</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='#' id='multiQuoteClear' class='ipsType_smaller desc' title='Clear the posts you have selected with MultiQuote'>Clear</a> &nbsp;&nbsp;&nbsp;
  1688. </div>
  1689. <form id="modform" method="post" action="http://community.casiocalc.org/index.php?">
  1690.     <input type="hidden" name="app" value="forums" />
  1691.     <input type="hidden" name="module" value="moderate" />
  1692.     <input type="hidden" name="section" value="moderate" />
  1693.     <input type="hidden" name="do" value="postchoice" />
  1694.     <input type="hidden" name="f" value="39" />
  1695.     <input type="hidden" name="t" value="6784" />
  1696.     <input type="hidden" name="auth_key" value="85693ce2832e72fe1a4a8e234ffdad53" />
  1697.     <input type="hidden" name="st" value="" />
  1698.     <input type="hidden" value="" name="selectedpidsJS" id='selectedpidsJS' />
  1699.     <input type="hidden" name="tact" id="tact" value="" />
  1700. </form>
  1701. <h1>LALALALALALALA</h1>
  1702. <h1>LALALALALALALA</h1>
  1703.                
  1704.                     <div class='ipsAd'><script type="text/javascript"><!--
  1705. google_ad_client = "ca-pub-5142819263082844";
  1706. /* ForumTopicBotom */
  1707. google_ad_slot = "1452846501";
  1708. google_ad_width = 728;
  1709. google_ad_height = 90;
  1710. //-->
  1711. </script>
  1712. <script type="text/javascript"
  1713. src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  1714. </script></div>
  1715.                
  1716.                 <ol class='breadcrumb bottom ipsList_inline left clearfix clear'>
  1717.                                             <li><a href='http://community.casiocalc.org/'>Universal Casio Forum</a></li>
  1718.                            
  1719.                        
  1720.                             <li><span class='nav_sep'>&rarr;</span> <a href='http://community.casiocalc.org/forum/25-programming/' title='Return to Programming'>Programming</a></li>
  1721.                            
  1722.                        
  1723.  
  1724.                             <li><span class='nav_sep'>&rarr;</span> <a href='http://community.casiocalc.org/forum/39-casio-basic/' title='Return to Casio Basic'>Casio Basic</a></li>
  1725.                            
  1726.                        
  1727.  
  1728.                    
  1729.                     <li class='right ipsType_smaller'>
  1730.                         <a rel="nofollow" href='http://community.casiocalc.org/privacypolicy/'>Privacy Policy</a>
  1731.                     </li>
  1732.                    
  1733.                     <li class='right ipsType_smaller'>
  1734.                             <a href='http://community.casiocalc.org/index.php?app=forums&amp;module=extras&amp;section=boardrules'>Forum Rules</a> &middot;
  1735.                         </li>  
  1736.                 </ol>
  1737.             </div>
  1738.             <!-- ::: FOOTER (Change skin, language, mark as read, etc) ::: -->
  1739.             <div id='footer_utilities' class='main_width clearfix clear'>
  1740.                 <a rel="nofollow" href='#top' id='backtotop' title='Go to top'><img src='/dot/public/style_images/master/top.png' alt='' /></a>
  1741.                 <ul class='ipsList_inline left'>
  1742.                     <li>
  1743.                         <img src='/dot/public/style_images/master/feed.png' alt='RSS Feed' id='rss_feed' class='clickable' />
  1744.                     </li>
  1745.                    
  1746.                            
  1747.                                 <li>
  1748.                                     <a rel="nofollow" id='new_skin' href='#'>Change Theme</a>          
  1749.                                     <ul id='new_skin_menucontent' class='ipbmenu_content with_checks' style='display: none'>
  1750.                                        
  1751.                                             <li >
  1752.                                                 <a href='#' data-clicklaunch='changeSkin' data-skinid='1'>IP.Board</a>
  1753.                                             </li>
  1754.                                        
  1755.  
  1756.                                             <li class='selected'>
  1757.                                                 <a href='#' data-clicklaunch='changeSkin' data-skinid='4'>Perseus BETA</a>
  1758.                                             </li>
  1759.                                        
  1760.  
  1761.                                             <li >
  1762.                                                 <a href='#' data-clicklaunch='changeSkin' data-skinid='2'>IP.Board Mobile</a>
  1763.                                             </li>
  1764.                                        
  1765.                                     </ul>
  1766.                                 </li>
  1767.                            
  1768.                    
  1769.                    
  1770.                         <li>
  1771.                             <a rel="nofollow" id='mark_all_read' href="http://community.casiocalc.org/index.php?app=forums&amp;module=forums&amp;section=markasread&amp;marktype=all&amp;k=85693ce2832e72fe1a4a8e234ffdad53" title='Mark all as read'>Mark Community Read</a>
  1772.                             <ul id='mark_all_read_menucontent' class='ipbmenu_content' style='display: none'>
  1773.                                
  1774.                                     <li>
  1775.                                        
  1776.                                     </li>
  1777.                                
  1778.  
  1779.                                     <li>
  1780.                                         <a href="http://community.casiocalc.org/index.php?app=forums&amp;module=forums&amp;section=markasread&amp;marktype=app&amp;markApp=forums&amp;k=85693ce2832e72fe1a4a8e234ffdad53">Forums</a>
  1781.                                     </li>
  1782.                                
  1783.  
  1784.                                     <li>
  1785.                                         <a href="http://community.casiocalc.org/index.php?app=forums&amp;module=forums&amp;section=markasread&amp;marktype=app&amp;markApp=members&amp;k=85693ce2832e72fe1a4a8e234ffdad53">Members</a>
  1786.                                     </li>
  1787.                                
  1788.                                 <li>
  1789.                                     <a href="http://community.casiocalc.org/index.php?app=forums&amp;module=forums&amp;section=markasread&amp;marktype=all&amp;k=85693ce2832e72fe1a4a8e234ffdad53"><strong>Mark all as read</strong></a>
  1790.                                 </li>
  1791.                             </ul>
  1792.                         </li>
  1793.                    
  1794.                     <li>
  1795.                         <a href="http://community.casiocalc.org/index.php?app=core&amp;module=help" title='View help' rel="help" accesskey='6'>Help</a>
  1796.                     </li>              
  1797.                 </ul>
  1798.                 <!-- Copyright Information -->
  1799.                           <p id='copyright'>
  1800.                             <a href='http://www.invisionpower.com/products/board/' title='Community Forum Software by Invision Power Services'>Community Forum Software by IP.Board 3.3.3</a><br />Licensed to: Casiocalc.org</p>
  1801.         <!-- / Copyright -->
  1802.             </div>
  1803.             <div id='ipsDebug_footer'>
  1804.                     <strong>Time Now:</strong> Jul 01 2012 08:45 PM
  1805.                     <strong>Last Visit:</strong> Today, 07:02 PM
  1806.                     <strong>Exec. Time:</strong> 0.4288
  1807.                     <strong>Load:</strong> --
  1808.                     <strong>Queries:</strong> 18 queries
  1809.                     <strong>Gzip:</strong> GZIP Enabled
  1810.                 </div>
  1811.             <div><img src='http://community.casiocalc.org/index.php?app=core&amp;module=task' alt='' style='border: 0px;height:1px;width:1px;' /></div>
  1812.  
  1813. <noscript>
  1814.     <img src="/poke/%7B%22js%22%3A0%2C%22UPPERTEST%22%3A1%2C%22_t%22%3A%221341189910c9a91af6649c9a1c1d56ec175425e2479d720ad2%22%2C%22name%22%3A%22global%22%7D" border=0 alt="">
  1815. </noscript>
  1816.  
  1817. <script language='javascript'>
  1818. tr_ycat_chsupport = 0;
  1819. </script>
  1820.  
  1821. <script language='javascript'>
  1822.  
  1823. try {
  1824.     curl(['jquery', 'apps/statPoker']).then(
  1825.     function ($, statPoker) {
  1826.         try {
  1827.         $.noConflict();
  1828.         statPoker.baseURL = "/poke/";
  1829.         statPoker.failURL = "/poke/%7B%22js%22%3A0%2C%22UPPERTEST%22%3A1%2C%22_t%22%3A%221341189910c9a91af6649c9a1c1d56ec175425e2479d720ad2%22%2C%22name%22%3A%22global%22%2C%22jsfailed%22%3A1%7D";
  1830.         statPoker.poke("{\"js\":0,\"UPPERTEST\":1,\"_t\":\"1341189910c9a91af6649c9a1c1d56ec175425e2479d720ad2\",\"name\":\"global\"}");
  1831.         } catch (ex) {
  1832.         document.write("<img src=\"/poke/%7B%22js%22%3A0%2C%22UPPERTEST%22%3A1%2C%22_t%22%3A%221341189910c9a91af6649c9a1c1d56ec175425e2479d720ad2%22%2C%22name%22%3A%22global%22%2C%22jsfailed%22%3A1%7D?error="+escape('curl_statPoker_Wrapper: '+ex.message)+"\" border=0 alt=\"\">");
  1833.         }
  1834.  
  1835.     },
  1836.         function (ex) {
  1837.         document.write("<img src=\"/poke/%7B%22js%22%3A0%2C%22UPPERTEST%22%3A1%2C%22_t%22%3A%221341189910c9a91af6649c9a1c1d56ec175425e2479d720ad2%22%2C%22name%22%3A%22global%22%2C%22jsfailed%22%3A1%7D?error="+escape('curl_load_error: '+ex.message)+"\" border=0 alt=\"\">");
  1838.         });
  1839. } catch (ex) {
  1840.     document.write("<img src=\"/poke/%7B%22js%22%3A0%2C%22UPPERTEST%22%3A1%2C%22_t%22%3A%221341189910c9a91af6649c9a1c1d56ec175425e2479d720ad2%22%2C%22name%22%3A%22global%22%2C%22jsfailed%22%3A1%7D?error="+escape('curl_total_fail: '+ex.message)+"\" border=0 alt=\"\">");
  1841. }
  1842.  
  1843. tr_ycat_chsupport = 1;
  1844. </script>
  1845.  
  1846. <script language='javascript'>
  1847. if (!tr_ycat_chsupport) {
  1848.     document.write("<img src=\"/poke/%7B%22js%22%3A0%2C%22UPPERTEST%22%3A1%2C%22_t%22%3A%221341189910c9a91af6649c9a1c1d56ec175425e2479d720ad2%22%2C%22name%22%3A%22global%22%2C%22jsfailed%22%3A1%7D?error=no_tr_ca_support\" border=0 alt=\"\">");
  1849.     alert("You should reeeeaaaaaally consider updating your browser...");
  1850. }
  1851. </script>
  1852.            
  1853.                 <script type='text/javascript' src='http://community.casiocalc.org/public/js/3rd_party/lightbox.js'></script>
  1854. <script type='text/javascript'>
  1855. //<![CDATA[
  1856.     // Lightbox Configuration
  1857.     LightboxOptions = Object.extend({
  1858.         fileLoadingImage:        '/dot/public/style_images/master/lightbox/loading.gif',    
  1859.         fileBottomNavCloseImage: '/dot/public/style_images/master/lightbox/closelabel.gif',
  1860.         overlayOpacity: 0.8,   // controls transparency of shadow overlay
  1861.         animate: true,         // toggles resizing animations
  1862.         resizeSpeed: 7,        // controls the speed of the image resizing animations (1=slowest and 10=fastest)
  1863.         borderSize: 10,         //if you adjust the padding in the CSS, you will need to update this variable
  1864.         // When grouping images this is used to write: Image # of #.
  1865.         // Change it for non-english localization
  1866.         labelImage: "Image",
  1867.         labelOf: "of"
  1868.     }, window.LightboxOptions || {});
  1869. /* Watch for a lightbox image and set up our downloadbutton watcher */
  1870. document.observe('click', (function(event){
  1871.    var target = event.findElement('a[rel*="lightbox"]') || event.findElement('area[rel*="lightbox"]') || event.findElement('span[rel*="lightbox"]');
  1872.    if (target) {
  1873.        event.stop();
  1874.        gbl_addDownloadButton();
  1875.    }
  1876. }).bind(this));
  1877. var _to    = '';
  1878. var _last  = '';
  1879. function gbl_addDownloadButton()
  1880. {
  1881.     if ( typeof( ipsLightbox.lightboxImage ) != 'undefined' && ipsLightbox.lightboxImage.src )
  1882.     {
  1883.         if ( _last != ipsLightbox.lightboxImage.src )
  1884.         {
  1885.             if ( ! $('gbl_d') )
  1886.             {
  1887.                 $('bottomNav').insert( { top: "<div id='gbl_d' style='text-align:right;padding-bottom:4px;'></div>" } );
  1888.             }
  1889.            
  1890.             $('gbl_d').update( "<a href='"+ ipsLightbox.lightboxImage.src + "' target='_blank'><img src='/dot/public/style_images/master/lightbox/download-icon.png' /></a>" );
  1891.            
  1892.             _last = ipsLightbox.lightboxImage.src;
  1893.         }
  1894.     }
  1895.    
  1896.     /* Check for init and then keep checking for new image */
  1897.     _to = setTimeout( "gbl_addDownloadButton()", 1000 );
  1898. }
  1899. //]]>
  1900. </script>
  1901.            
  1902.            
  1903.         </div>
  1904.        
  1905.        
  1906.  
  1907. <script type="text/javascript">
  1908.  
  1909.   var _gaq = _gaq || [];
  1910.   _gaq.push(['_setAccount', 'UA-8376179-3']);
  1911.   _gaq.push(['_setDomainName', 'casiocalc.org']);
  1912.   _gaq.push(['_trackPageview']);
  1913.  
  1914.   (function() {
  1915.     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  1916.     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  1917.     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  1918.   })();
  1919.  
  1920. </script>
  1921.     </body>
  1922. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement