Source Code

For general Flowcode discussion that does not belong in the other sections.
chipfryer27
Valued Contributor
Posts: 1528
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Flowcode v10 Source Code

Post by chipfryer27 »

Hi

I appreciate v10 is just released and you are all very busy.

Guessing the WiKi is still being updated to enable downloading of source code. Personally I think this will be a nice feature.

Regards

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 503 times
Been thanked: 686 times

Re: Source Code

Post by BenR »

Hello.

Component source code should all be there now. If you right click a component and select help then there should be a link to the component source project.

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 503 times
Been thanked: 686 times

Re: Source Code

Post by BenR »

Aha just checked and the links have become broken in the move. I'll get on it for you.

medelec35
Matrix Staff
Posts: 1924
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 623 times
Been thanked: 645 times

Re: Source Code

Post by medelec35 »

There is a temp workaround until the links are sorted out
After selecting Help for the component and then clicking on the link for the component, your default browser will open with the 404 not found, and will see a link like this:

Code: Select all

https://www.flowcode.co.uk/wikicopy/componentsource/the_component_name
Just Change the

Code: Select all

https://www.flowcode.co.uk/wikicopy/componentsource/the_component_name
to

Code: Select all

https://www.flowcode.co.uk/wiki/componentsource/the_component_name
Martin

BenR
Matrix Staff
Posts: 1926
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 503 times
Been thanked: 686 times

Re: Source Code

Post by BenR »

Hello,

Links to the component source download and online viewer should be working correctly again now.

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: Source Code

Post by chipfryer27 »

Thanks Ben

This is a very helpful inclusion and allows us mere mortals a chance to see how things should be done.

I am just about to play with the GSM component again so thought I'd look at the source out of curiosity. Is there any reason it's "Main" macro is empty? Comparing it to other sources, their "Main's" have calls.

Just curious.

Regards

Steve-Matrix
Matrix Staff
Posts: 1472
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 349 times

Re: Source Code

Post by Steve-Matrix »

chipfryer27 wrote:
Fri Jan 27, 2023 10:39 am
Is there any reason it's "Main" macro is empty? Comparing it to other sources, their "Main's" have calls.
Ben is the expert on this, but when a component is exported and used in a project, the <Main> macro is actually never called. However, when developing the component, it is often useful to have testing and debugging code in <Main>.

So usually you can ignore what is in the <Main> macro for a component.

mnfisher
Valued Contributor
Posts: 1466
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 136 times
Been thanked: 713 times

Re: Source Code

Post by mnfisher »

Thanks to the 'Team' for this - it really will be an excellent resource.....

Martin

Steve-Matrix
Matrix Staff
Posts: 1472
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 204 times
Been thanked: 349 times

Re: Source Code

Post by Steve-Matrix »

In addition, users with the Professional pack will have access to 2 additional features:

1) View code for components directly in their projects (by right-clicking on macros in the "Components" tab of Project Explorer)

show component code.png
show component code.png (46.98 KiB) Viewed 3162 times


2) Step into component code when simulating

step into component code.png
step into component code.png (5.27 KiB) Viewed 3162 times

b.sgammato
Posts: 5
Joined: Fri Jun 04, 2021 7:20 pm
Been thanked: 2 times

Re: Source Code

Post by b.sgammato »

Hi Ben and at all
I waited for the update of my FC8 because I knew that FC10 would be released soon.
I can't wait for my institution's administration to authorize me to purchase. :D :D
I really appreciated the availability of the source code of the components, but I don't understand why I can't download them: do I have to buy FC10 to be able to download??

regards

Post Reply