Rapid-Q VS FnxBasic

In this category you can exchange your programming questions and solutions.
Post Reply
dksvertix
Posts: 3
Joined: Sun Nov 11, 2012 12:58 pm

Rapid-Q VS FnxBasic

Post: # 1000Post dksvertix
Sun Nov 11, 2012 1:05 pm

What are the differences between Rapid-Q and FnxBasic?

Currently I noticed three differences: different icon, a "manifest" inside of produced exes and a lean towards Spanish language (comparing RQ`s lean towards french ;D).

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

Rapid-Q VS FnxBasic

Post: # 1001Post Marco
Wed Nov 14, 2012 10:05 pm

It`s like a car, it are two complete different cars with different engines but in both you can drive.
try this in both:

dim a as string
dim c as integer
dim d as double
d=timer
for c=1 to 1000000
a=a+"ok"
next c
showmessage str$(timer-d)+"seconds needed"

subs need not to be declared in fnxbasic and can be befor and after the call.
best regards

dksvertix
Posts: 3
Joined: Sun Nov 11, 2012 12:58 pm

Rapid-Q VS FnxBasic

Post: # 1002Post dksvertix
Fri Nov 16, 2012 5:59 am

I see. I need to study examples a bit more.

If you need an IDE, take a look into this:
rapidq.phatcode.net/FreeQ/

It`s best what current RQ veterans could make and it`s open-source and what not, so you can port it over and save time, if you`d like.

dksvertix
Posts: 3
Joined: Sun Nov 11, 2012 12:58 pm

Rapid-Q VS FnxBasic

Post: # 1003Post dksvertix
Sun Nov 18, 2012 4:58 am

Ah, I forgot to ask! Is fnxcompiler.exe based on RC.exe?
I mean, how did you rewrite it, do you have (RC.exe`s) compiler`s source code?

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

Rapid-Q VS FnxBasic

Post: # 1004Post Marco
Sun Nov 18, 2012 4:46 pm

It has nothing to do with rapidq, the interpreter is compiled machinecode from my program in delphi 7.0 and the compiler is in fact the interpreter with the bytcode of the compiler. In other way the fnxbasic compiler and editor are also written in fnxbasic.
best regards

Bob82604
Posts: 6
Joined: Fri Dec 30, 2016 10:30 pm

Rapid-Q VS FnxBasic

Post: # 1005Post Bob82604
Thu Jan 05, 2017 5:53 am

I just wanted to add that William Yu did not release his RapidQ source code to the public.

On google there is a link to his "I`m Sorry" post
search:
William Yu : I`m sorry ... - Rapid-Q Inside - Sites - Google

In it he explains why he did not.  ;)

pierrf
Posts: 4
Joined: Thu Jan 10, 2019 8:42 am

Re: Rapid-Q VS FnxBasic

Post: # 1300Post pierrf
Thu Jan 10, 2019 9:04 am

What is more, there are resemblences, but the compiler is certainly different. I made the following test

Dim i As Integer,k As Integer
Dim t As double
t=Timer
k=0
For i=1 To 10000000
k=k+1
Next i
Print Timer-t
Do
Loop Until Inkey$ <> ""
End

and found fnxbasic at least 13-14 times faster than RapidQ!

Post Reply