Recent posts

#41
Genero BDL / Re: Strange situation with 5.0...
Last post by Benjamin Garcia Vallejo - May 02, 2025, 06:54:40 PM
Hi,

I've UNSET LANG but still same situation ...
On commande line with or without LANG we don't have this error

Regards
#42
Genero BDL / Re: Strange situation with 5.0...
Last post by Leo Schubert - May 02, 2025, 04:40:04 PM
Hi Benjamin, check if LANG is set to something like "fr" and unset it if it's the case.
Regards , Leo
#43
Genero BDL / Strange situation with 5.01.02
Last post by Benjamin Garcia Vallejo - May 02, 2025, 04:16:27 PM
Hello

On last version :

fglrun 5.01.02 rev-763f056
Genero virtual machine
Target l64xl228

This code :

IMPORT security
MAIN
DEFINE s STRING = "dGVzdHRlc3Q="
LET s = security.Base64.ToString(s)
display s
END MAIN

fglrun on commande line (ssh) works fine

Same code running from studio with target GDC ok
Same code running from studio with target GBC ko with error
           
            FORMS statement error number -6221.
            C extension initialization failed with status -1.

Any idea ?

Thanks






#44
Genero BDL / Re: SUBDIALOG WITH PARAMETERS
Last post by Benjamin Garcia Vallejo - April 30, 2025, 04:08:25 PM
Sorry, my fault not have seen that "Declarative dialogs support parameters (SUBDIALOG)" starting at 5.00.03

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/fgl_whatsnew_500v.html

Thank you
#45
Genero BDL / Re: SUBDIALOG WITH PARAMETERS
Last post by Sebastien FLAESCH - April 30, 2025, 12:07:58 PM
Hello Benjamin,

1) Still using de-supported FGL version 5.00 ? Please move to latest 5.01!

https://4js.com/download/products/?

2) Your t_donation type is a DYNAMIC ARRAY, which is implicitly passed by reference and does not need the INOUT keyword, reserved for RECORDs

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_runtime_stack.html

Try with FGL 5.01 compiler, you will get a better error message:

comment.4gl:14:5:14:24:error:(-8432) An INOUT parameter requires a RECORD type.

Seb
#46
Genero BDL / SUBDIALOG WITH PARAMETERS
Last post by Benjamin Garcia Vallejo - April 30, 2025, 11:24:53 AM
Hi,

Why this code doesn't compile (tested version 4.01 and 5.02) ?
Thank you

fglcomp 5.00.02 rev-025d702c
Genero 4gl compiler
Target l64xl228

Four Js*
Licensed Materials - Property of Four Js
(c) Copyright Four Js 1995, 2024. All Rights Reserved.
* Trademark of Four Js Development Tools Europe Ltd
  in the United States and elsewhere
root@vmgenerodev03:/tmp VMGENERODEV03      $fglcomp --verbose d
[parsing d.4gl]
[parsing d cancelled: 1 errors]
The compilation was not successful.  Errors found: 1.
The file 'd.err' has been written.
root@vmgenerodev03:/tmp VMGENERODEV03      $cat d.err
PUBLIC TYPE t_donations DYNAMIC ARRAY OF RECORD
  p_date  DATE,
  p_amount MONEY,
  p_reason VARCHAR(250)
END RECORD

DIALOG donations(donations t_donations INOUT)
| A grammatical error has been found at 'donations' expecting: ')'.
| See error number -6609.
    INPUT ARRAY donations FROM donations.*
      AFTER FIELD p_amount
        IF donations[arr_curr()].p_amount<2.0 THEN
          ERROR "must be at least 2 dollar:-)"
          NEXT FIELD CURRENT
        END IF
      AFTER ROW
        IF arr_curr()<=arr_count() THEN
          DISPLAY "AFTER ROW donations:check row and save to database"
        END IF
    END INPUT
END DIALOG


#47



     Genero Enterprise 4.01 Maintenance Release :
    Genero BDL 4.01.09


    Four Js is pleased to announce a Maintenance Release of Genero BDL with Web Services (BDL – GWS - JGAS - GBC - GGC - WCG - GIP) 4.01.09.

    Genero BDL with Web Service (BDL - JGAS - GBC - GGC - WCG - GIP) 4.01.09 is the bundle which includes:

    • Business Development Language (FGL) 4.01.09
    • Web service extension (GWS) 4.01.09
    • Genero Browser Client (GBC) 5.01.03
    • Genero Identity Provider (GIP) 4.01.05
    • Application Server for Java (JGAS) 4.01.01
    • Web Components and wrappers (WCG) 4.01.06


    The packages are now downloadable from the web site : https://4js.com/download/products/.

    This version also includes the following bugs fixes :

    All Four Js Genero customers under maintenance have free access to the new release.

    Best regards,

    Four Js Development Tools[/list]
    #48



     Genero Enterprise 3.21
    GRE Maintenance Release


    Four Js is pleased to announce a Maintenance Release of Genero Report Engine 3.21.04.

    These versions includes also the following bugs fixes https://4js.com/support/issue/GRE/3.21.04.

    These versions are now downloadable from the web site: https://4js.com/download/products/.

    All Four Js Genero customers under maintenance have free access to the new release.

    Best regards,

    Four Js Development Tools
    #49



     Genero Studio 5.01 Maintenance Release


    Four Js is pleased to announce a Maintenance Release of Genero Studio 5.01.02.

    Genero Suite Client/Server (GST) 5.01.02 is the bundle that includes:

    • Genero Studio Client and Server (GST) 5.01.02
    • Genero Business Development Language with Web Service - GBC - GIP - WCG (FGLGWS) 5.01.02
    • Genero Application Server (GAS) 5.01.02
    • Genero Desktop Client (GDC) 5.01.01
    • Genero Mobile for IOS (GMI) 5.01.00
    • Genero Mobile for Android (GMA) 5.01.01
    • Genero Web Applications (GWA) 5.01.01
    • Genero Report Engine (GRE) 5.01.00

    Note
    This packages embeds Genero Application Server 5.01.02 fixing a significant issue https://4js.com/support/issue/?id=GAS-04005.
    Therefore, if you worked with GAS 5.01.01 and/or GST 5.01.01 on Windows, we recommend you update ASAP to GAS 5.01.02 and/or GST 5.01.02.

    The packages included in Genero Suite Server and Genero Suite Client/Server are also delivered individually.
    These versions are  now downloadable from the web site : https://4js.com/download/products/.

    All Four Js Genero customers under maintenance have free access to the new release.

    Best regards,

    Four Js Development Tools
    #50



     Genero 3.21 Maintenance Release :
    Genero Application Server 3.21.02


    Four Js is pleased to announce a Maintenance Release of Genero Application Server 3.21.02.

    This version includes the following fixes :
    https://4js.com/support/issue/GAS/3.21.02.

    It is is now downloadable from the website: https://4js.com/download/products/.

    All Four Js Genero customers under maintenance have free access to the new release.


    Best regards,

    Four Js Development Tools