Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 25 Jul 2014, 19:12
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Basic Programming
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 13 May 2005, 03:52    Post subject:  Basic Programming  

My first attempts to do something for the Linux community was in the language XBasic. I tried to develop a program called ALMS. Of course I had to learn to program. I am very glad I choose a very stable and fast language called XBasic. XBasic is a complete environment able to run the same code in Linux and Windows.

I spent about a month developing code on Knoppix swapping into Windows but eventually finished and created the code to run on Windows which I was more familiar with.

Maybe Puppy will allow me to finalise the Linux version. To my amazement, my Windows code required only the change of two lines of commented out code to be reintroduced and was running. See pic.

My program will not be as tight or compact as those writing in C or Tcl (it has to include a large run time) but at least Puppy has given me the confidence to BELIEVE I can finish this program in Linux.

I am a Puppy and I am Happy. Puppy Rocks!

Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
JohnMurga
Site Admin


Joined: 04 May 2005
Posts: 586
Location: Far to the east

PostPosted: Fri 13 May 2005, 09:13    Post subject:  

Cool, how big is the run-time just out of interest ?

Cheers
JohnM
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 13 May 2005, 09:37    Post subject:  

dunno

- the situation freaked me out because I seem to remember it was 3.5 meg

BUT the windows runtime is recorded as 1.5 meg but with UPX it is about 350k XBasic contains ALL its own libraries it would work on any Linux. So with some UPX compression it could end up any size . . .

Xbasic code is very fast - as fast as C for most things
but the code is easier and more structured and more like BASIC

It is an odd language that is gaining popularity. There is a Windows variant called Xblite - but I prefer the Linux/Windows older version . . . coz I can work on two OS

The language is ready for 64 Bit and on WIndows works from Windows 3.11 - right through to Blackcomb - because it carries its own environment in the runtime dll - not bad for something created in 1988 with a visual programming environment BEFORE others such as VB made them popular

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1563s ][ Queries: 11 (0.1190s) ][ GZIP on ]