I didn't release any new version after. so that is latest
Hi I am going ahead with the cobol framework for Easyui some short examples are available at https://gnucobol.altervista.org site.. The tool to manage the html (with a simpified line script library) is name makeform (there an open source code available). The version is still under beta level but the results seems to be interesting since you can obtain a very professional look & feel with the EasyUi library. The package is running with fujtisu cobol cgi libraries dll. One day I'll try to rewrite them...
Hi Eugenio You can use it for documentation purpose. Actually I am doing a strong use of COBFD since I am writing a cobol framework to use cobol and easyui html widgets together. In general so I need to get my isam record fields with dynamic way. So for example my html framework uses <cobol class="easyui-textbox"> label="Descrizione" name="DESC-ISTAT-PROV-030" prompt="Denominazione"</cobol> where DESC-ISTAT-PROV-030 become accessed from an ISAM file that contains the isam name and WHERE the field...
Great Ide seems to be very usefull. You did a great job. There is also a rest server to expose webservices. .. I was looking for something that could allow use use that under cobol. I'll investigate better your Gix environment. Thanks Marco
László you wrote a monumental tools for gnucobol indeed. Actually I manage the session by creating an unique key passed between form with tmp isam file to have working field availables. My Tools implements an own method to make (I think) sophysticated html forms with lots of form validation client side. The load of combo box or other variable is make by using json files that the easyui can manage without write lots of code.. Just to give and example in attachment you can find some form from the ...
Interesting informations. I would like to release with open source license a complete web application for pubblic administration or local municipals for the attendance monitoring . Could be cool leave with a gnucobol link also. Actually I used for the frontend the easyui library (with free and commercial license) very very powerfull. Federico
https://software.fujitsu.com/jp/manual/manualfiles/m150010/b1wd3361/01enz200/b3361-00-02-02-01.html The link above returns the fujitsu cobol cgi set of procedures. I have many web cobol application and Could be very useful have the same from gnucobol. Has someone any advices to rewrite them under gnucobol ? Federico
I' m sorry you wasn't able to run the code. Having a source of your code could be useful to investigate why it doesn't recognize the sectios. however not only windows code but pure 100% cobol code so anything where who knows the language can read what is performs
Actually I am working using windows 10 so if you want to manage it under linux you have to change the size of some records in the agarcob.cbl library. You have to comment the appropriate line : linux or Windows depending on you want to run the package. In general I have found lots of mistakes fighting under window but I have almost solved all t hems above all some call static must be required under windows and generally working under linux is more simple. The last build is always available at github...
Maybe you should declare the atext external 01 atext usage pointer external. and the obtain the value move "text" of atext to stringa. display "here the value:" stringa. where the stringa is declared in your exitForm procedure into the working storage section. Federico
Yes could you please provide a cobol sample here ? It seems to be a wrong sequential format that tp-cobol-debugger doesn't recognize. Did you test it without data evaluating ? e.g. invoke the animator with -d command line option to turn off this feature.
I uploaded the last source at github... and I have update the site www.opencobol.altervista.org where there are all alphabetical list of methods properties and some explanaion about the GuiCOBOL. the project is going ahead.. The libagar 1.6 runs fine. Lots of widgets still to prepare ....
Thanks Simon I solved the trouble about the menu. I uploaded the menu widget with principal properties and methods on github. The Guicobol is going ahead... Federico
Brian I am having some troubles trying to manage the AG_MenuAction from guicobol. I cannot download your stuff (the link from https://libagar.org/docs/ seems to be broken ) https://sourceforge.net/p/open-cobol/contrib/HEAD/tree/trunk/tools/cobweb/cobweb-agar/ is there someone who used that features with cobol and can upload a sample ? Federico
linkage section. 000627 01 evnt usage pointer. 000628 procedure division extern using by value evnt returning omitted. Hi all I am going ahead by adding some event features. This kind procedure using cannot be compiled .. is there a new features to avoid this ? error: syntax error, unexpected Identifier, expecting . I got the statement from cobagar-web. any advices ?
linkage section. 000627 01 evnt usage pointer. 000628 procedure division extern using by value evnt returning omitted. Hi all I am going ahead by adding some event features. This kind procedure using cannot be compiled .. is there a new features to avoid this ? error: syntax error, unexpected Identifier, expecting . I got the statement from cobagar-web. any advices ? I removed the extern
linkage section. 000627 01 evnt usage pointer. 000628 procedure division extern using by value evnt returning omitted. Hi all I am going ahead by adding some event features. This kind procedure using cannot be compiled .. is there a new features to avoid this ? error: syntax error, unexpected Identifier, expecting . I got the statement from cobagar-web. any advices ?
Brian I am implementing the procedure to cach events and I was looking at the cobweb-agar cod you wrote. About the libagar.cpy after the gvc.exe ran it appears with a missing picture for event-function and variable-function (see below). What value can I use to compile it ? I need to manage: data division. working-storage section. 01 ag-event based. :AGAR-EVENT: linkage section. 01 evnt usage pointer. procedure division extern using by value evnt returning omitted. Federico ~~~ >-< > Generated by...
The AG_RadioNew() function allocates, initializes, and attaches a new AG_Radio widget. If items is not NULL ...... So I used the cobol NULL but I solved with the "value 0 " as you told. thanks.
The library become available with the "-LC:/cygwin64/usr/local/lib "... so you should be perform two kind of tests: first: add -L (upper case dont' forget) c://......your path where SDL.dll is located second: move the SDL.dll under c:/cygwin64/bin
The library become available with the "-LC:/cygwin64/usr/local/lib "... so you should be two kind of tests: first: add -L (upper case dont' forget) c://......your path where SDL.dll is located second: move the SDL.dll under c:/cygwin64/bin
I isolate the trouble is inside the global.cpy for the agar-null constant value . Is there another method to declare it ? right now i changed with value 0. IDENTIFICATION DIVISION. PROGRAM-ID. demo. ENVIRONMENT DIVISION. DATA DIVISION. WORKING-STORAGE SECTION. 01 agar-null usage signed-short value null. PROCEDURE DIVISION. stop run. end program demo.
Just to know there are lot of this kind of warning.. is there a way to remove all ? /cygdrive/c/Users/federico/AppData/Local/Temp/cob1446_0.c:1230:31: warning: assignment makes integer from pointer without a cast [-Wint-conversion] ((unsigned short )(b_62)) = (cob_u8_ptr)NULL; ^ /cygdrive/c/Users/federico/AppData/Local/Temp/cob1446_0.c: In function 'exitForm_': /cygdrive/c/Users/federico/AppData/Local/Temp/cob1446_0.c:1492:32: warning: assignment makes integer from pointer without a cast [-Wint-conversion]...
https://webchat.freenode.net/ if you want share the #guicobol for an immediate chat. and /or add my skype profile: federico.priolo
the cgywin64 is only 64bit. unfortunately last month the cgytwin stopped the support for 32bit. so you cannot usage that . about the ld.exe library fault did you find it ? it should be in Directory di C:\cygwin64\usr\x86_64-w64-mingw32\sys-root\mingw\bin 02/12/2013 03:31 331.776 SDL.dll 1 File 331.776 byte I don't have this in my path. Maybe it must added with some to the library search... what kind of windows are yuo using ? I am using under windows 10 and I did the test copying the package to another...
I'm glad to read that you got the library. then you have this hypothetical path string. PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\cygwin64\bin\;c:\cygwin64\usr\local\bin;C:\Users\federico\AppData\Local\Microsoft\WindowsApps then download the guicobol package https://sourceforge.net/projects/guicobol/files/guicobol-with-agar/guicobol-11-03-2020.7z and unzip into c:\ after this your should be able to run guicobol, open a cmd shell command...
I'm glad to read that you got the library. then you have this hypothetical path string. PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\cygwin64\bin\;c:\cygwin64\usr\local\bin;C:\Users\federico\AppData\Local\Microsoft\WindowsApps then download the guicobol package https://sourceforge.net/projects/guicobol/files/guicobol-with-agar/guicobol-11-03-2020.7z and unzip into c:\ after this your should be able to run guicobol, open a cmd shell command...
I'm glad to read that you got the library. then you have this hypothetical path string. PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\cygwin64\bin\;c:\cygwin64\usr\local\bin;C:\Users\federico\AppData\Local\Microsoft\WindowsApps then download the guicobol package https://sourceforge.net/projects/guicobol/files/guicobol-with-agar/guicobol-11-03-2020.7z and unzip into c:\ after this your should be able to run guicobol, open a cmd shell command...
I'm glad to read that you got the library. then you have this hypothetical path string. PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\**;c:\cygwin64\bin**\;**c:\cygwin64\usr\local\bin**;C:\Users\federico\AppData\Local\Microsoft\WindowsApps then download the guicobol package https://sourceforge.net/projects/guicobol/files/guicobol-with-agar/guicobol-11-03-2020.7z and unzip into c:\ after this your should be able to run guicobol, open a cmd...
I'm glad to read that you got the library. then you have this hypothetical path string. PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\**;c:\cygwin64\bin**\;**c:\cygwin64\usr\local\bin**;C:\Users\federico\AppData\Local\Microsoft\WindowsApps then download the guicobol package https://sourceforge.net/projects/guicobol/files/guicobol-with-agar/guicobol-11-03-2020.7z and unzip into c:\ after this your should be able to run guicobol, open a cmd...
Yes too slow indeed. did you extract the group file with 7z manager ?
Hi David about the 200mb.. when Installed cygwin I choised recomended library for the c compiler and for agar it added automatically other several libraries. I did the installation step by step adding modules when required. I don't know this environment deeply so this is the complete libraries it installed. Maybe some could be removed . who know ? about the note.. Under windows you must only add the cygwin available in the path variable. the page contains some few instruction about that I did a test...
Hi David about the 200mb.. when Installed cygwin I choised recomended library for the c compiler and for agar it added automatically other several libraries. I did the installation step by step adding modules when required. I don't know this environment deeply so this is the complete libraries it installed. Maybe some could be removed . who know ? about the note.. Under windows you must only add the cygwin available in the path variable. the page contains some few instruction about that I did a test...
Hi David about the 200mb.. when Installed cygwin I choised recomended library for the c compiler and for agar it added automatically other several libraries. I did the installation step by step adding modules when required. I don't know this environment deeply so this is the complete libraries it installed. Maybe some could be removed . who know ? about the note.. Under windows you must only add the cygwin available in the path variable. the page contains some few instruction about that I did a test...
Hi David yes you right one file is missing I have to upload it about the 200mb.. when Installed cygwin I choised recomended library for the c compiler and for agar it added automatically other several libraries. I did the installation step by step adding modules when required. I don't know this environment deeply so this is the complete libraries it installed. Maybe some could be removed . who know ? about the note.. Under windows you must only add the cygwin available in the path variable. the page...
I upload several split 7z file since one was continuosly interrupted during the upload. let me know if now you can succesfully donwload it https://sourceforge.net/projects/guicobol/files/binary note about install at http://www.opencobol.altervista.org/index.php/guicobol/76-download
I upload several split 7z file since one was continuosly interrupted during the upload. let me know if now you can succesfully donwload it https://sourceforge.net/projects/guicobol/files/binary
I upload several split 7z file since one was continuosly interrupted during the upload. let me know if now you can succesfully donwload it https://sourceforge.net/projects/guicobol/upload/binary/
Just uploading at sourceforge. I didn't know it allows file greatest then 100 MB https://sourceforge.net/projects/guicobol/upload/binary/ ps... working in progress
No no Just uploading at sourceforge. I didn't know it allows file greatest then 100 MB https://sourceforge.net/projects/guicobol/upload/binary/ ps... working in progress
No no Just uploading at sourceforge. I didn't know it allows file greatest then 100 MB https://sourceforge.net/projects/guicobol/upload/binary/
I am going to upload at github...next hours you'll be able (i hope ) to get it.
Yes due a space ehausted I moved to the new link http://web.tp-srl.it/public/cobol/gnucobol-3.1-agar-1.6-05-03-2020.7z MESSAGGIO ORIGINALE Hi Federico, This link is broken as well http://www.tp-one.it/federico/guicobol-binary/gnucobol-3.1-agar-1.6-25-02-2020.7Z It should be http://www.tp-one.it/federico/guicobol-binary/gnucobol-3.1-agar-1.6-25-02-2020.7z This 7z file is corrupt, it can not be opened after download. Please re-upload it again http://www.tp-one.it/federico/guicobol-binary/gnucobol-3.1-agar-1.6-05-03-2020.7z...
the pane base object from cobol has 712 (filler) byte under windows and 744 under linux the same filler has the same for the combo base . (with the latest agar version) 01 pane-instance based. 05 filler pic x(712). 05 pane-type usage binary-long sync. 05 pane-flags usage binary-long unsigned. 05 pane-divs occurs 2 times usage pointer sync. is there a way to declare it with the same using a gnucobol features depending on the running Operating System ?
troubles about color were solved. actually it runs fine for windows and linux. going ahead then.
http://www.tp-one.it/federico/guicobol-binary/guicobol.7z sorry.. let's try again MESSAGGIO ORIGINALE Hi Federico, There is an error, 404 url not found. Please verify that the files is hosted in there. Not Found The requested URL /federico/guicobol-binary/guicobol.7Z was not found on this server. Apache Server at www.tp-one.it Port 80 guicobol Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/open-cobol/discussion/contrib/ To unsubscribe from further messages,...
http://www.opencobol.altervista.org/index.php/guicobol/76-download first windows binary download .... I have to solve about the pane object...and some about colors..but the windows environment seems to run fine with this. The build are:agar 1.6 gnucobol 3-1 and guicobol... experimental version . Federico
Thanks David about the feedback the display can disturb the animator yes. The soluzion from Simon could be very useful also using the go to depending on... that could be interesting to "go directly in some other.. I must say that actually working to fix guicobol my free time to upload the debugger is really not enougth .. a microfous watch way (just to give an example) is going to be useful. Federico
I meant something like "hardwire" maybe ""permanent" however your solution is dynamic and interesting. I used mine as " work around" to make screen larger. I wanted to move a parameter into the animate.inf ad animate.inf to make it customizable In my idea the right part of the video could be used to view variables moved in "watch" during the run, a list of breapoint ...and other that programmers like to see during the running. I wrote first version of the debugger just for play and I am realizing...
Today I added a softwire value that can be simple changed into workanim.cpy to have a windows more than 25 rows..(43 for example runs fine on linux and windows) ... the animator need to be improved a lot but at least now you can navigate in a more appropriate panel.
yes Simon the tp-cobol-debugger will remains always with the TUI fronend also. When Guicobol will run correctly the debugger could have a -console option to force to tui .... about the second you told could I have an example about the entry go goto ? It sounds very interesting. Going ahead with Guicobol ( that actually I can compile from windows but I have some trouble since previous CALL STATIC seems to be wrong under Windows) So actually I am doing the test to keep only one guicobol release. and...
I added a new feature to the debugger .. quite useful for big programs to debug .. you can enter SET-DEBUG-OFF to switch off the analyzer and SET-DEBUG-ON in the points where you want the debug to analyze the code. the executable becomes much faster and only the code where the error is presumed can be analyzed https://sourceforge.net/projects/tp-cobol-debugg/ This since using debugger with guicobol that add lots of code.... Usefull will be made the windows where animator runs greater than 25x80 adding...
Any new notes about windows installation are available at www.opencobol.altervista.org ps. I am still working to solve some abouth agarcob.cbl pointer objects to reference agar objects but at least the way to compile are correctly updated there Federico
Hi after several test I finally installed a running agar and cobc under windows 10. The last complete build to compile agarcob.cbl (just to give and example) is: (in this i am using the debugger to investigate it.. but agarcob.ani --become your code eventually plus -x switch to make an executable. cobc agarcob.ani -v -fno-gen-c-decl-static-call -LC:/cygwin64/usr/local/lib -lag_gui -lag_core -I"C:/cygwin64/usr/local/include/agar" -I"C:/cygwin64/usr/include/SDL" -I"c:/cygwin64/usr/include/freetype2"...
Hi Sandro. I am so glad you find it intersting. I am also very curious about your OOP tools. So yes tell me more about it please. federico.priolo@tp-one.it for direct emails Federico
Julien (the Agar main maintenence ) is working to fix the trouble inside the agar library. He already uploaded one fix ...
Adding only core and gui it requieres the others during the process. too many headers I am agree.
loading standard configuration file 'default.conf' command line: cobc -v -fno-gen-c-decl-static-call -LC:\cygwin64\usr\local\lib -IC:\cygwin64\usr\local\include\agar\agar\config -IC:\cygwin64\usr\local\include\agar\agar\core -IC:\cygwin64\usr\local\include\agar\agar\gui -A --include c:\cygwin64\usr\local\include\agar\agar\core\core.h -A --include c:\cygwin64\usr\local\include\agar\agar\gui\gui.h -A --include c:\cygwin64\usr\local\include\agar\agar\core\begin.h -A --include c:/cygwin64/usr/local/include/agar/agar/config/_mk_big_endian.h...
loading standard configuration file 'default.conf' command line: cobc -v -fno-gen-c-decl-static-call -LC:\cygwin64\usr\local\lib -IC:\cygwin64\usr\local\include\agar\agar\config -IC:\cygwin64\usr\local\include\agar\agar\core -IC:\cygwin64\usr\local\include\agar\agar\gui -A --include c:\cygwin64\usr\local\include\agar\agar\core\core.h -A --include c:\cygwin64\usr\local\include\agar\agar\gui\gui.h -A --include c:\cygwin64\usr\local\include\agar\agar\core\begin.h -A --include c:/cygwin64/usr/local/include/agar/agar/config/_mk_big_endian.h...
Simon but the -I"C:.....ect" doesn't allow the compiler to reached the include folders ? (ps. it is not running yet.. just fighting...)
with the VERY USEFULL !! -v switch I have seen that -I for include and -L for library actually the ld.exe errors i solved.. this the batch cobc -v agarcob.cbl -fno-gen-c-decl-static-call -L"C:\cygwin64\usr\local\lib" -I"C:\cygwin64\usr\local\include\agar\agar" -I"C:\cygwin64\usr\local\include\agar\agar\gui" -I"C:\cygwin64\usr\local\include\agar\agar\gui" C:\Users\federico\AppData\Local\Temp\cob31616_0.c: In function 'DefaultDestroy_': C:\Users\federico\AppData\Local\Temp\cob31616_0.c:4744:32: warning:...
cobc agarcob.cbl -fno-gen-c-decl-static-call -llibag_core.a -llibag_gui.a -LC:\cygwin64\usr\local\include\agar\agar -L C:\cygwin64\usr\local\include\agar\agar\gui -L C:\cygwin64\usr\local\include\agar\agar\gui this is last change but the mistaks are the same. (in the sample below i compiled the demo7.gui but the commands and mistakes are equals. it seems the ld doesn't not find the library objects. thanks. Federico C:\guicobol>cobc -x demo7.gui -fno-gen-c-decl-static-call -llibag_core.a -llibag_gui.a...
The library name is different from linux. if you want to chek in attachment you can see the latest windows binary
Hi I am getting trouble linking the new guicobol version with windows binary build from 1.6 version with cgywin64 (I am working to update a guicobol complete windows package) this is the command line used: cobc agarcob.cbl -fno-gen-c-decl-static-call -l libag_core.a -l libag_gui.a C:\Users\federico\AppData\Local\Temp\cob44740_0.c: In function 'agarcob_': C:\Users\federico\AppData\Local\Temp\cob44740_0.c:982:11: warning: implicit declaration of function 'AG_InitCore' [-Wimplicit-function-declaration]...
hi thom I am just working to prepare a complete build for windows with binary library for gnucobol guicobol and agartool. Actually due to a problem with agar compilation the packege is not available. About the compilation cobc agarcob.cbl -fno-gen-c-decl-static-call -I (agar windows library) should correctly compile the dll agarcob and and cobc -x guicobol.cbl but unfortunately I have not yet tried that Federico
The trouble was solved. I wrote some mistakes in the javascript code... now it's runs fine. Federico
I all I am doing some test with easy ui with conventional cobol cgi since I have already some project running using web. i wanted to improve the html side by adding javascript tools to enhance the field validations.. looks and feed and so on.. easyui runs fine and allows in very simple way to design sophisticated pages with strong web widgets. Unfortunately I cannot show correctyl from cobol.and i don't know why.. (the sample structures without easy inside run fine). here a link where I explained...
Hi Rod thanks for the question. I think there are not dumb question but sometimes dumb answers.. :-) I used the preprocessor since I wanted to move object orientation and gnucobol actually doesn't support it. I don't think that the object orientation could be the only solution . I meant I know that well done fuctions as cobol allows can be fast and simple to be understood. I wrote complete objects cobol procedures using fujitsu cobol and sometime you can forget where you are.. :-). Your idea to invoke...
Thanks for the feedback roboloki The last build contains the new features. Usually them are declared into the guicobol.inf that has the skeleton that guicobol will use writing the pre-processed gui file. Do not forget. the .gui file is not intended to be manually updated. In my idea it is a behaind internal code. I know it is not elegant. looking at the guicobol.inf definition you can understand I compiled your demo1.gui and the result is in the attachment. This is still a pre-version I am updating...
Paulo I know that Powercobol wasn't discontinued.simple fujitsu moved the gui to .net and with windows forms and other and doesn't recomand it . I am agree with you. Powercobol remains the best (I think so). Guicobol has the same orientation but is at 4% about the agar functions availables... writing a "powercobol" using cobol is also cool .. am I wrong ? however lot of code still to write... I am preparing a virtual environment to allows people to play with it. just to have feedback and using a...
for who already know powercobol is very similar to it.
the site www.opencobol.altervista.org contains some articles about guicobol and going ahead i will upload other sessions about documents and source code. above all examples will help to understand. the site also contains a global translator that I hope will help an international platea to surf if. And also the Agar tool kit use lot and powerfull objects still to manage.. This is only first pre-release and of course i know that the effort is not enought . but this is a 'start' point. :-)
Hi all. First pre-release available with agar gui toolkit http://www.opencobol.altervista.org/ lots of code still to write... but just to have an idea . actually used under ubuntu 16.04 LTS
First pre-release available with agar gui toolkit http://www.opencobol.altervista.org/
Yes. I think so tooInviato dal mio dispositivo Huawei-------- Messaggio originale --------Oggetto: [tp-cobol-debugg:discussion] Debugger Support for GnuCobol 3.0Da: Miha Pečnik pecnikmiha@users.sourceforge.netA: "[tp-cobol-debugg:discussion] " general@discussion.tp-cobol-debugg.p.re.sourceforge.netCC: Hi, Yes I compiled all modules with cobc without parameters. There is no file named temp. Compiler creates directory named temp, but cant create .dat file. I also changed compiler that tries to create...
You have to move "continue" between perform and end-perform since.the latest.compiler required that statement. I suppose that solve the troubleInviato dal mio dispositivo Huawei-------- Messaggio originale --------Oggetto: [tp-cobol-debugg:discussion] Debugger Support for GnuCobol 3.0Da: Miha Pečnik pecnikmiha@users.sourceforge.netA: "[tp-cobol-debugg:discussion] " general@discussion.tp-cobol-debugg.p.re.sourceforge.netCC: Hello. I'm also having problems with running animator. Im using GnuCobol 3.2...
AH ok. FUNCTION NUMVAL sorry I got a mistake since I thought it was an occurs of a table..... yes I have understood. Thanks.
Brian where is defined the numval occurs ?
Guicobol will be released in a few weeks within 2.0 version . I am also updating the site http://opencobol.altervista.org with the new documentation step by step. the Agar Gui toolkit is really amazing and strong. Federico
TEST.CBL is the same from the tp-cobol-debugger package ? If not starting could be for the cyle perform.. but could you please do a test with -d (WITHOUT DATA analysys) ? Federico Priolo Amministratore unico TP ONE SRL VIA PARADISO 6 02034 MONTOPOLI DI SABINA Cell.: 348-6063530 federico.priolo@tp-one.it P. Iva 01126870573 Cap. Soc 20.000,00 Int. vers. Reg. delle Imprese di Rieti REA: RI70185 email: tpone@legamail.it MESSAGGIO ORIGINALE Hi, the problem is not solved. The fix removes the errormessages...
I have to do the same test with the -ext fixed you did. Tell me actually did solved with work around by compiling the .ani file ? Federico Priolo Amministratore unico TP ONE SRL VIA PARADISO 6 02034 MONTOPOLI DI SABINA Cell.: 348-6063530 federico.priolo@tp-one.it P. Iva 01126870573 Cap. Soc 20.000,00 Int. vers. Reg. delle Imprese di Rieti REA: RI70185 email: tpone@legamail.it MESSAGGIO ORIGINALE and one more information: debuging the test.cbl does not work, too: vsoft03_gnubf2> animator -x test.cbl...
Usage: animator cobolsource [options] cobolsource:source.cbl/cpy/src (when missing ".cbl" is added by default....) Options: -h This support panel -d Turn off data analisys -c Do not compile the generated .ani source -k/-K keep the generated cobol .ani source -f Use constants names for temporary files -F Force to free format -S Use stop run to evaluate exit -x Build an executable program -A Perform only structure control flow graph -v Turn on verbose -o add native option invoking the compiler (eg:...
You should use -ext <extension> add file extension for resolving COPY invoking the compiler.</extension>
The project is going ahead...soon I will upload the new version that uses AGAR toolkit cross platform.... http://www.opencobol.altervista.org/
this code issue an "internal error" and sure the code has obviously an error. see agar-false usage... IDENTIFICATION DIVISION. 000002 PROGRAM-ID. prova. 000003 ENVIRONMENT DIVISION. 000004 DATA DIVISION. 000005 WORKING-STORAGE SECTION. 78 agar-false value zeros. 01 abutton usage pointer. 000019 PROCEDURE DIVISION. call static "AG_CheckboxSetState" using 000140 by value abutton 000142 by value agar-false <----- this issuue the mistake. 000144 end-call stop run. ederico@federico-asus:~/Scrivania/FEDERICO$...
I got some trouble calling some agar function (that used const char ) so I used inline code inside the preprocessor that actually is the same for gnucobol oc and gnucobol agar. depending on the copy you can invoce oc or agar dll. Guicobol doesn't know the "invoke" that is performed by changing the code due of guicobol.inf file . Just to give you an example * a statement like move "parent" of object to agar-parent Become processed by this guicobol.inf skeleton so one user shoudl be able to add other...
Thanks to Julien support and advices I am going ahead with guicobol backend update the agar is amazing. has lot of nice features. I added and changed guicobol to invoke them in attachment a view just to give an example. 000010 IDENTIFICATION DIVISION. 000020 PROGRAM-ID. demo. 000030 ENVIRONMENT DIVISION. 000040 DATA DIVISION. WORKING-STORAGE SECTION. 000150 01 abox usage pointer external. 000210 01 abox1 usage pointer. 000210 01 abox2 usage pointer. 000210 01 atext usage pointer external. 000210...
welcome. this is a very active community for GNUCOBOL and COBOL in general. So I guess you have found the correct place. Federico
I tried. visual studio code doesn't expand the env variable. at the end I have seen that one can directly invoke a script so I added and runs fine. Also you should be able to add more kind of activity ..so for example adding tp.cobol-debugg for animate... just to use what you need.. It's really well done. Also has lots of cobol facilties like code completation, intellisense.. sintax for cobol view declaration.. { "version": "2.0.0", "tasks": [ { "label": "gnucobol - cobc (single file)", "type": "shell",...
It runs correctly with your advice. Simple solution. I would like to suggest you to try it really a step ahead...
I am getting some trouble by configurating the gnucobol inside the (very useful indeed) visual studio code. { "version": "2.0.0", "tasks": { "label": "gnucobol - cobc (single file)", "type": "shell", "command": "cobc", "args": [ "-fno-gen-c-decl-static-call", "$(agar-config --libs)", "$(agar-core-config --libs)", "${file}" , "problemMatcher": "$gnucobol-cobc", "group": { "kind": "build", "isDefault": true } } ] } The output upon the console is cobc -fno-gen-c-decl-static-call '$(agar-config --libs)'...
Brian Julien (the agar's programmer) added a new features available for the incoming 1.6 (that is available in SVN in development state) the new call return the kind of the widget from which is invoked . I used to manage the properties that are invoked from several differents objects.. i.e "caption" for windows box. label.. and so on.. the guicobol project is agoing ahead . I already added a lot of new features. the agar library runs really fine. cool. Federico call static "AG_ObjectGetClassName"...
Brian yesterdaty I talked to Julien who explaind me the usage of AG_OfClass AG_OfClass(button, "AG_Widget:AG_Button:*") will return 1 if the button object is either an AG_Button, or a subclass of AG_Button But olso the AG_ofClass is a defined c so I cannot invoke define AG_OfClass(obj,cspec) AG_ClassIsNamed(AGOBJECT(obj)->cls,(cspec)) is there a way to work around this invoking the compiler ? Federico
Vincent the compiler is gnucobol. the guicobol project i wrote is a preprocessor who transforms the code you see into a cobol call for gnucobol. https://sourceforge.net/projects/guicobol/ http://www.opencobol.altervista.org/index.php/tabella-section I stopped to update guicobol since gtk libraries made a lot of deprecated code from 2.0 to 3.0 instead agar run really fine. The goal is making a gui object oriented using the code generated from guicobo actually i have exstimated 2 or 3 months to rewrite...
The test for use agar under the new Guicobol is going ahead. I am pretty surprised.. very powerful . I must re-write a lot of invoke..but it really cool almost a powercobol from gnucobol... DENTIFICATION DIVISION. 000020 PROGRAM-ID. demo. 000030 ENVIRONMENT DIVISION. 000040 DATA DIVISION. 000050 WORKING-STORAGE SECTION. 000060 000150 01 indice pic 9(9). 000150 01 aframe usage pointer. 000210 01 aframe1 usage pointer. 000210 01 aframe2 usage pointer. 000210 01 alabel usage pointer. 000210 000220 copy...
OK. thanks Federico
With fno-gen-c-decl-static-call I can correctly compile and run. I also changed the call. as Serge told me ... first invoke wasn't possible from cobol.. Thanks you a lot for your attention (and patiens...) Federico