locked
ESL Extension - OLD THREAD; DO NOT POST RRS feed

All replies

  • BUG REPORT:

    When I do the following line:

    TextWindow.Write(ESLMaths.Power(3,3))

    It returns 81 when it should have returned 27.


    I am a 10 year old that loves math, games, and computers. "Everyone is potentially great, you just have to turn it into kinetic greatness."

    Sunday, October 7, 2012 12:18 AM
  • I think that's no bug. 3*3*3 is 81. :)

    This looks nice! I will try it out. I look forwar to the ESLFile.Create("") part. :D

    Good luck!


    Greetings Timo


    • Edited by Timo Sö Sunday, October 7, 2012 4:22 AM
    Sunday, October 7, 2012 4:21 AM
  • A little glitch I noticed, there's no XML comment for the ESLWeb.POSTRequest() and .GETRequest()

    So I don't know how to use it...

    Sunday, October 7, 2012 7:50 AM
  • A little glitch I noticed, there's no XML comment for the ESLWeb.POSTRequest() and .GETRequest()

    So I don't know how to use it...

    There is a comment in Visual Studio, so I have no idea why it is not showing up. Here are the comments for it:

    /// <summary>
    /// Make an HTTP "GET" request to the specified URL.
    /// </summary>
    /// <param name="URL">The URL to make a request to.</param>
    /// <param name="arguments">The parameters, in the following format: key=value&key2=value2&key3=value3</param>
    /// <returns>The contents of the web response.</returns>


    /// <summary>
    /// Make an HTTP "POST" request to the specified URL.
    /// </summary>
    /// <param name="URL">The URL to make a request to.</param>
    /// <param name="arguments">The parameters, in the following format: key=value&key2=value2&key3=value3</param>
    /// <returns>The contents of the web response.</returns>

    Example:

    response = ESLWeb.GETRequest("https://{removed}/api/get-ptr/", "action=date")
    TextWindow.WriteLine(response)
    TextWindow.Read()

    The site I used in this example is my test website, so it might be a bit slow and it might not be up all the time.


    • Edited by LMCSHERRY Wednesday, February 27, 2013 5:54 PM
    Sunday, October 7, 2012 10:18 AM
  • BUG REPORT:

    When I do the following line:

    TextWindow.Write(ESLMaths.Power(3,3))

    It returns 81 when it should have returned 27.


    I am a 10 year old that loves math, games, and computers. "Everyone is potentially great, you just have to turn it into kinetic greatness."

    It'll be fixed for the next release. I had used a <= (greater-than-or-equal-to) rather than a < (greater-than) in my code. This means at least one function will now be inaccurate; this function is Exponent(), which uses Power().
    Sunday, October 7, 2012 10:32 AM
  • Actually, it isn't 81. 3 * 3 = 9; 9 * 3 = 27.

    I am a 10 year old that loves math, games, and computers. "Everyone is potentially great, you just have to turn it into kinetic greatness."

    Sunday, October 7, 2012 2:48 PM
  • Hi

    Tried your download link but just got a 'Forbidden' screen!!

    Jasper Oaktree

    Wednesday, February 27, 2013 5:22 PM
  • Hi

    Tried your download link but just got a 'Forbidden' screen!!

    Jasper Oaktree

    Yes, this is the old thread. You can find the new thread here: http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/b8b5f9d8-4936-4666-941d-71de10617666
    Wednesday, February 27, 2013 5:54 PM

  • Liam, if you want we can lock this thread to new posts.
    Wednesday, February 27, 2013 6:52 PM
    Moderator

  • Liam, if you want we can lock this thread to new posts.
    Please do, I believe that would be best.
    Wednesday, February 27, 2013 8:06 PM