Page 1 of 2
Source Code
Posted: Thu Jan 26, 2023 6:58 pm
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
Re: Source Code
Posted: Thu Jan 26, 2023 7:11 pm
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.
Re: Source Code
Posted: Thu Jan 26, 2023 7:12 pm
by BenR
Aha just checked and the links have become broken in the move. I'll get on it for you.
Re: Source Code
Posted: Thu Jan 26, 2023 7:48 pm
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
Re: Source Code
Posted: Fri Jan 27, 2023 10:01 am
by BenR
Hello,
Links to the component source download and online viewer should be working correctly again now.
Re: Source Code
Posted: Fri Jan 27, 2023 10:39 am
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
Re: Source Code
Posted: Fri Jan 27, 2023 10:50 am
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.
Re: Source Code
Posted: Fri Jan 27, 2023 10:51 am
by mnfisher
Thanks to the 'Team' for this - it really will be an excellent resource.....
Martin
Re: Source Code
Posted: Fri Jan 27, 2023 11:08 am
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 (46.98 KiB) Viewed 3164 times
2) Step into component code when simulating

- step into component code.png (5.27 KiB) Viewed 3164 times
Re: Source Code
Posted: Tue Feb 07, 2023 10:43 am
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.
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