次の方法で共有


Small Basic #17: Silverlight-Based Small Basic Program Runner

You can now run Microsoft Small Basic programs in a Microsoft Silverlight-based viewer from a supported web browser. Here's how to do it:

  1. If you want to run your own Small Basic program and you have not yet published it, from the Small Basic user interface, open the code that you want to publish, and then click Publish. Then write down the program ID that appears.
  2. If you want to run a Small Basic program published by someone else, you must already know that program's ID.
  3. Open your web browser and browse to the following URL: https://smallbasic.com/run/?programID= followed by the program ID; for example https://smallbasic.com/run/?programID=TPK457, https://smallbasic.com/run/?programID=TETRIS, or https://smallbasic.com/run/?programID=STARGATES.

Note that to interact with a running program, you must click inside of the viewer window, and then the program will recognize your key presses, mouse clicks, and so on.

Note that right now the viewer only appears to support programs that use the GraphicsWindow object. Programs that use other user interface constructs, such as the TextWindow object, don't appear to be supported as they currently display errors for me.