Program to draw a star (six-sided) using DRAW statement (GW-BASIC)

Program to draw a star (six-sided)


10     REM Program to draw six-sided star using DRAW statement at GW-BASIC
20     CLS
30     SCREEN 2
40     DRAW “E60 F60 L120 BU40 R120 G60 H60”
50     END

Using the GW-BASIC emulator, I’ve created the following program:

Make Star using GW-BASIC

Make Star using GW-BASIC




“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Related Posts

M.Bakhtiar Zuberi
Hello, I'm M.Bakhtiar Zuberi, the only article poster & owner of this website. Your comments/suggestions are welcomed the most! is a part of network.


  1. Uvy says:

    Thanks for such nice instructions! I finally know how to make it! 🙂

  2. Uvy says:

    BTW, can you make a program to draw 5 sided star as well?

  3. Abdullah Naveed says:

    Very helpful but I dont understand use of BU can u help me Thank You in advance

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: