RetroBASIC

Basicprogramming(.org) => Code and examples => Topic started by: Aurel on April 27, 2017, 04:47:31 PM

Title: Po
Post by: Aurel on April 27, 2017, 04:47:31 PM
Y
Title: Re: Power basic - Analog Clock
Post by: B+ on April 27, 2017, 07:35:17 PM
Ugly SmallBASIC editor? maybe...

less lines, fast coding, definitely!

Here is Analog Clock in 27 lines:

PS, still 1 line longer than Paul Dunn's more colored, more detailed, more stuff per line code.

Title: Re: Power basic - Analog Clock
Post by: Aurel on April 27, 2017, 09:41:26 PM
[
Title: Re: Power basic - Analog Clock
Post by: B+ on April 28, 2017, 12:19:36 AM
Aurel, I have no idea what the Linux experience is.

I personally use Windows 10 for all my File maintenance stuff but you can use SmallBASIC's File menu. see "SmallBASIC Notes" thread under "Tutorials and articles" board, that I have just updated with screen shots of latest update (this month) of SmallBASIC version 0.12.9

PS, I think the File menu stuff in SmallBASIC is for when you are writing code with Android device.
Title: Re: Power basic - Analog Clock
Post by: jj2007 on April 28, 2017, 01:07:57 PM
Yes .. Power Basic  :D
Jose Roca site have many great programs and examples.

With the Classic PowerBASIC Compiler 9.07 for Windows, it works after two little changes:

#INCLUDE ONCE "win32api.inc"
#INCLUDE ONCE "\PowerBasic\WinAPI\Win32API.inc"

                  BYVAL pszCmdLine AS WSTRINGZ PTR, BYVAL iCmdShow AS LONG) AS LONG
                  BYVAL pszCmdLine AS LONG PTR, BYVAL iCmdShow AS LONG) AS LONG