locked
Small Basic Online v0.91 RRS feed

All replies

  • Following issue has been reported by kts78.

    Import SOKO is loading TETRIS



    Nonki Takahashi

    Tuesday, October 2, 2018 3:46 AM
  • I rewrote a program for SBO: DNZ933.

    Screen shot of a program Mahjong Tile 0.3 (SBO)


    Nonki Takahashi

    Friday, November 30, 2018 8:29 AM
  • This original code is by mahreen miangul.  And I modified for SBO v0.91: LZH417.

    Something is wrong in GraphicsWindow.FillEllipse.  And Program.Delay(1) is needed to draw.

    Screen Shot of a program DORAEMON on SBO v0.91


    Nonki Takahashi

    Sunday, December 23, 2018 7:07 AM
  • I rewrote HMX882-0 for SBO v0.91: KXF822.

    Screen shot of a program Xmas Tree 0.3

    Known Issues:

    • Shapes can't be rotated.  So simulate rotation in this program.
    • Ellipse aspect may become wrong.
    • Shapes triangle offset will be ignored.
    • Shapes line can't be moved in this program. 
    • Clipped Shapes can't be removed correctly when moved.
    • And, Or are not supported.
    • Math.ArcTan and Math.Tan are not supported.  This program simulates ArcTan.
    • Program.Delay(0) is needed after FillEllipse.
    • Array can't be initialized with such like "1=One;2=Two;".
    • a + b becomes Text.Append(a, b).  Workaround: a * 1 + b.
    • SBO indent is 4 while SBD indent is 2.


    Nonki Takahashi

    Sunday, December 23, 2018 2:59 PM
  • I updated the program above: VMK968.

    Screen shot of a program Xmas Tree 0.4

    Known Issues

    • A Shapes ellipse width becomes 75% when it is not a circle.  This version has the workaround.
    • A Shapes line move is not absolute but relative.  This version has the workaround.
    • In this version, DrawStars() has been commented out.

    Nonki Takahashi

    Monday, December 24, 2018 6:43 AM
  • This version has ellipse workarounds: CQX826.

    Screen shot of DORAEMON with ellipse workaround for SBO v0.91


    Nonki Takahashi

    Monday, December 24, 2018 7:22 AM
  • beware of math.round behavior! it rounds to nearest even number

    (so called bankar's round):

    but in sb online it rounds zero-up (to positive side):

    math.floor rounds to the left side:

    while ceilling rounds to right side:

     

    This information is by Tryhest in a thread Challenge of the Month - December 2018.

    Nonki Takahashi


    Saturday, December 29, 2018 1:04 PM