Karel return value to browser

  • Hi!


    I'm trying to learn Karel programming. I wrote a small program that returns the value of R[1]. My problem is it only displays it on the TP's USER menu.

    GETREG.png


    I run this karel from my PC's browser, using the link: http://robotip/KAREL/GETREG

    On the PC I see this:


    browser-error.png



    Instead I want to see this:

    browser.png

    Is there any way to accomplish this with Karel? To return the value to the browser, not the user screen.


    My code:


  • AD
  • HawkME

    Approved the thread.
    • Helpful

    Hi,


    In the Internet Option Setup and Operation Manual it says " use TD:RESPONSE.HTM for any new application using Karel programs and the Web Server"

    Here is my suggestion for the code :

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now