[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Firewing • View topic - Differences compared to SWORDFISH

Differences compared to SWORDFISH

Discuss the Firewing language

Differences compared to SWORDFISH

Postby skartalov » Mon Sep 30, 2013 2:10 pm

I've been using SF compiler for a while, and I started to love it. Now I would like to use FIREWING as well, but why do you make the language syntax so different?
I mean:
IF....EndIF now i End If, also while, wend, and many more...
Now I have to put ":" between operators if I want to put more on the same line and so on (like I did before on PicBasic)...

And another thing, when I mark operator in SF and hit F1, I get help, now I have to search the library reference for it.


And why do you have to change the INCLUDE with IMPORTS?


It is so confusing!
skartalov
 
Posts: 69
Joined: Sun Sep 15, 2013 1:12 pm

Re: Differences compared to SWORDFISH

Postby David John Barker » Mon Sep 30, 2013 5:54 pm

> why do you make the language syntax so different?

The Swordfish language was a mix of BASICs, PASCAL etc. It was made up. Firewing follows closely the VB.NET syntax so it's more standards based. For example, take a look at some of these examples:





and look at the sample code - 3 different website resources with code that looks like Firewing! If you learn Firewing, you are picking up the non-class based parts of VB.NET. If you know VB.NET, moving to Firewing is very easy. Obviously there are differences, but "C" is a standard that you need to tweak between systems. I've had people in the past say they don't use Swordfish, PROTON, PicBASIC etc because it's not a standard language like "C" and you cannot transfer the skills used. Well, now you have Firewing which uses a standard approach to BASIC. Skills you lean with Firewing can be used in other domains.

> now I have to search the library reference for it.

It's easier for me to maintain a free compiler in this way.

> And why do you have to change the INCLUDE with IMPORTS?

See above. I hope this clears things up for you. If you have any more questions, please just ask...
User avatar
David John Barker
 
Posts: 485
Joined: Thu Nov 08, 2012 12:21 pm

Re: Differences compared to SWORDFISH

Postby roger » Wed Oct 02, 2013 11:08 am

Hi David,

Thanks for your references. Initially I was slow to get into Firewing16, simply because I had never used the Visual Basic syntax, and therefore Firewing's programming language was strange to me, something which the Firewing reference manual did little to dispel.

However I found this very good tutorial in one of your references:-

http://www.tutorialspoint.com/vb.net/vb ... torial.pdf

I also managed to get hold of an old copy of Visual Basic 2008, which is apparently very similar to VB 2010, but without the classes, (I believe), and that has also been of general background use.

So with a little bit more practise I should be ready for Firewing32.

I currently program Pic32s in XC32, and these beauties really hum along.

Hope that helps someone

Roger
roger
 
Posts: 33
Joined: Tue Dec 11, 2012 12:41 pm


Return to Language

Who is online

Users browsing this forum: No registered users and 3 guests

cron

x