Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Getting PowerBASIC 3.5 for DOS (Developers)

posted by Rugxulo Homepage, Usono, 18.03.2019, 09:44

> The FreeBasic is also not bad :-D

It's FOSS, multi-platform, supports (some) backwards compatibility, new extended syntax, compiles itself, has "-gen gcc", etc. It's very good.

> But OK, you have on mind the 16-bit environment.

Why not Turbo Pascal or FPC's i8086-msdos? I know they're different languages with different legacies and strengths, just saying ... {$mode tp} ain't bad.

> And I am not sure how the pointers are implemented in FB.

It has them, but I don't recall the syntax offhand. (Of course, FB is 32-bit DPMI, which is a different environment.)

As you probably know, classic Pascal didn't use pointers (except for the heap). Unlike C which used them for everything (arrays decay into pointers). So Pascal, traditionally, was safer and easier. Even Modula-2/Oberon relegated them (well, raw "addresses") to SYSTEM (only for low-level stuff). You shouldn't need them for normal apps just to use arrays.

> But what I like on the Powerbasic is the nice IDE.

Most people have third-party editors that they prefer over IDEs. There are billions of text editors. Exuberant Ctags is old but has some support for BASIC (hence good for VILE, JED, VIM, or whatever else). Not sure about GNU Emacs, but there's probably some support "somewhere".

 

Complete thread:

Back to the forum
Board view  Mix view
22074 Postings in 2036 Threads, 396 registered users, 25 users online (0 registered, 25 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum