On 05/28/2017 05:46 PM, Paul Breneman wrote:
On 05/28/2017 09:14 AM, Paul Breneman wrote:
I got a little started: http://wiki.freepascal.org/ideU
Probably should add additional pages for:
A) Example of use (polYdev, translating fpc applications into Java
applications with text that started this message thread)
B) How to start (for beginners per www.controlpascal.com/tutorial.htm
*after* start with mini distributions)
- first step (install complete fpc, compile & run a console program
like *Hello World*, introduce debugging?)
- second step (install fpGUI, compile & run Control Terminal)
How simple can we make this?
I think that before creating more new pages for beginners that I should
do what I mentioned a few days ago. I'm still a beginner myself! :)
From the new wiki page: http://wiki.freepascal.org/ideU
To see ideU in operation (in translating fpc applications into Java
applications) watch this 6 MB video:
https://sites.google.com/site/designerext/fpc_java.mp4 and follow these
instructions:
http://lists.freepascal.org/pipermail/fpc-pascal/2017-April/050711.html
I'll try to figure out how to do things first on my 64-bit Xubuntu 16.04
for a console program. After that is clear it should be easier to try
the same thing on Android?
I just *easily* translated *two* fpGUI programs into Java applications:
1) memotest from www.turbocontrol.com/easyfpgui.htm
2) ctrlterm from www.ctrlterm.com/
There were only *two* changes to the instructions:
1) *Replace* "begin MainProc;" with "exports ..."
2) *Add* "-fPIC" to compile parameters in memotest.sh and ctrlterm.sh
I'll update the wiki and try a simple console program.
_______________________________________________
fpc-other maillist - fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other