Skip to content

List commands to fix #3131

@guillaume-kotulski

Description

@guillaume-kotulski
  • Screen width (paramètres optionnels)
  • Screen height (paramètres optionnels)
  • ST SET ATTRIBUTES, attribName is an integer
  • Drop position (paramètres optionnels)
  • Data file (paramètres optionnels)
  • HIGHLIGHT TEXT ( * ; a ) | Y ; L ; L. Need to split syntax
  • Get 4D Folder (paramètres optionnels)
  • Selected list items ( * ; a) | L ; *' | ( v' ; *' ), par exemple L; *' n'est pas représenté
  • Window kind (paramètres optionnels)
  • Application version (paramètres optionnels), ou le integer X | y' ; *'
  • Get Application color scheme (paramètres optionnels)
  • Frontmost window (paramètres optionnels)
  • New shared object comme new object
  • DOM Get XML element a ; a ; L ; y' ; v' ; v'
  • Select folder {;}
  • EXECUTE METHOD IN SUBFORM : 12 : a ; a | o ; ( * ; { e } ) | ( y ; { e } ) | X : a ; a | o ; X | ( ( y | * ) ; { E } )
  • DOM SET XML ELEMENT VALUE : 63 : a ; E ; { E } ; *'
  • Encrypt data file archiveFolder : Text, Object
  • GET DOCUMENT PROPERTIES parameters missing types and having space in name
  • SET DOCUMENT PROPERTIES same
  • Open form window : 51 : F' ; a | o ; L' ; L' ; L' ; *' not nested optionals
  • APPEND MENU ITEM ( menu : Integer, Text ; itemText : Text, Integer {; subMenu : Text {; process : Integer}} {; *} )
  • LISTBOX SORT COLUMNS Comparator instead of Operator
  • Find in list (*;a) | L ; a ; L ; v' ; *' On peut passer la 2ème étoile sans avoir besoin du tableau
  • System folder paramètres optionnels
  • Encrypt data file ( structurePath : Text ; dataPath : Text {; newPassPhrase : Text,Object {; archiveFolder : Text {; curPassPhrase : Text,Object {; methodName : Text}}}} ) : Text
  • Set user properties ( userID : Integer ; name : Text ; startup : Text ; password : Text, Operator ; nbLogin : Integer ; lastLogin : Date {; memberships : Integer array {; groupOwner : Integer}} ) : Integer. If Operator no password are set
  • GET LIST ITEM PARAMETER value is a Variable
  • SVG Find element ID by coordinates should have 2 syntax (*; Text | Picture)
  • WEB Get server info paramètres optionnels
  • WA EXECUTE JAVASCRIPT FUNCTION result est optionnel
  • New signal parenthesis order
  • Database measures paramètre optionnel
  • Query by attribute {;}, queryOP is Text, Comparator not Operator
  • WP New paramètres optionels
  • ORDER BY manque type de < et enlever espaces dans le nom
  • QUERY {;}
  • QUERY SELECTION {;}
  • ADD RECORD {;}
  • HIGHLIGHT RECORDS {;}
  • MODIFY RECORD {;}
  • QUERY BY EXAMPLE {;}
  • JSON PARSE ARRAY manque type dan syntaxe
  • INTEGER TO BLOB byteOrder is optionnal
  • LONGINT TO BLOB byteOrder is optionnal
  • FORM SET INPUT FORM SET INPUT:C55([blb_t_L2BInput:20];"blb_f_List";*) est valid
    FORM SET INPUT ( {aTable : Table ;} form : Text, Object {; userForm : Text} {; *} )
  • OB Copy: double Object, Object + resolvePtrs no type
  • SOAP DECLARATION ( variable : Variable ; type : Integer ; input_output {; alias : Text} ) manque type
  • SET PROCESS VARIABLE ( process : Integer ; dstVar : Variable ; expr : Expression {; ...(dstVar : Variable ; expr : Expression)} )
  • Menu selected ( { subMenu : Text } ) : Integer
  • JSON PARSE ARRAY manque type
  • SET CHANNEL manque type + second paramètre optionnel
    SET CHANNEL ( port : Integer {; settings : Integer} )
    SET CHANNEL ( operation : Integer {; document : Text} )
  • Records in selection ({ laTable : Table } ) : Integer paramètre optionnel
  • Frontmost process paramètre optionnel
  • WP Is font style supported ( targetObj : Object ; wpFontStyle : Text ) : Boolean
  • WP Get attributes WP Get attributes ( targetObj : Object ; ...(attribName : Text ; attribValue : Variable) ) : Object
  • Cache info paramètre optionnel
  • End selection paramètre optionnel
  • PROCESS 4D TAGS ( inputTemplate : Text, Blob ; outputResult : Text {; ...param : Expression} ) outputResult either Variable, or Text, Blob
  • Get window title paramètre optionnel
  • Current user paramètre optionnel
  • Set print option : SET PRINT OPTION ( option : Integer,Text ; value1 : Integer, Text {; value2 : Integer, Text} )
    Arnaud: The support of Text param has been removed from 4D 20 (windows PDF option code) - kept by compat I guess
  • SET LIST ITEM ICON accepts Picture or Pointer
  • HTTP Request ( httpMethod : Text ; url : Text ; contents : Text, Blob, Picture, Object, Collection ; response : Text, Blob, Picture, Object, Collection {; headerNames : Text array ; headerValues : Text array}{; *} ) : Integer"
  • JSON Stringify array ( array : any {; *} ) : Text
  • WEB Get server info
  • WP Get attributes ( targetObj : Object ; ...(attribName : Text {; attribValue : Variable})) : Object
  • WP SET ATTRIBUTES ( targetObj : Object ; ...(attribName : Text {;attribValue : any }) )
  • SET MENU ITEM SHORTCUT ( menu : Integer, Text ; menuItem : Integer ; itemKey : Text ; modifiers : Integer {; process : Integer} )
    SET MENU ITEM SHORTCUT ( menu : Integer, Text ; menuItem : Integer ; itemKey : Integer {; process : Integer} ) I have added another syntax, and modified the first
  • JSON Validate ( vJson : Object, Collection ; vSchema : Object ) : Object
  • Field name ( tableNum : Integer ; fieldNum : Integer {; subField : Integer}) : Text

Arnaud: subfields are no longer supported as of 4D v11, this parameter should be removed

  • throw si rien: "rethrow last errors if we are currently executing the ON ERR CALL callback"
  • LISTBOX SET PROPERTY value : any
  • PRINT LABEL ( {aTable : Table} {; > : >} {; * : Operator})
    PRINT LABEL ( {aTable : Table} {; value : Text, Boolean {; > : > }} {; * : Operator})
    Alors ça correspond au mieux par rapport à la gram

Arnaud: Ok for syntaxes but I put no mention of Boolean in the docs (must be a very old, abandonned behavior)

  • LISTBOX GET PRINT INFORMATION | soit info : Integer, Boolean dans le gram c'est une Variable, ça serait un Variable[Integer, Boolean]
  • QR INSERT COLUMN ( area : Integer ; colNumber : Integer ; object : Text, Pointer )
  • QR REPORT** ( {aTable : Table} {;document : Text} {; methodName : Text}{; *} )
  • OBJECT DUPLICATE ( * ; object : Text {; newName : Text} {; newVar : Pointer} {; boundTo : Text} {; moveH : Integer} {; moveV : Integer} {; resizeH : Integer} {; resizeV : Integer} {; * : Operator} )
    OBJECT DUPLICATE ( object : Variable, Field {; newName : Text {; newVar : Pointer} {; boundTo : Text} {; moveH : Integer} {; moveV : Integer} {; resizeH : Integer} {; resizeV : Integer} {; * : Operator} )

No need to pass all the coords, it will just take the old ones. If we have a star at the end all the coords are mandatory
The syntax I gave does not represent this case, we should duplicate these 2 syntax

  • GET PRINT OPTION ( option : Integer, Text ; value1 : Integer, Text {; value2 : Integer, Text} )
  • SET PRINT OPTION ( option : Integer, Text ; value1 : Integer, Text {; value2 : Integer, Text} )
  • PRINT RECORD ( aTable : Table {; *} )
    PRINT RECORD ( aTable : Table {; > : >} )
  • Read only state ( {aTable : Table} ) : Boolean
  • Locked ( {aTable : Table} ) : Boolean
  • Data file encryption status ( {structurePath : Text ; dataPath : Text} ) : Object
  • Session info ( sessionId : Text ) : Object
  • SPELL CHECK TEXT ( text : Text ; errPos : Integer ; errLength : Integer ; checkPos : Integer {; arrSuggest : Text array} )
  • SQL EXPORT SELECTION ( {aTable : Table ;} folderPath : Text {; numFiles : Integer {; fileLimitSize : Integer {; fieldLimitSize : Integer}}} )
  • SQL EXECUTE SCRIPT ( scriptPath : Text ; errorAction : Integer {; ...(attribName : Text ; attribValue : any)} )
  • SQL LOGIN ({ dataEntry : Text ;} {userName : Text ; password : Text {; * }})
  • SET PICTURE METADATA ( picture : Picture ; metaName : Text ; metaContents : Variable, Expression {; ...(metaName : Text ; metaContents : Variable)} )
  • Count menus ( {process : Integer} ) : Integer
  • FORM SET OUTPUT ( {aTable : Table ;} form : Text, Object {; userForm : Text} {; *} )

Arnaud: On enlève le *

  • REGISTER CLIENT ( {clientName : Text} )
  • QUERY BY EXAMPLE ( {aTable : Table} {; *} )

One syntax

  • ORDER BY ( {aTable : Table} {; ...(aField : Field {; >or< : >, <}) } {; *} )
  • *ORDER BY FORMULA ( aTable : Table ; {...(formula : Expression {; order : >, <})} )
  • Is new record ( {aTable : Table} ) : Boolean
  • Record number ( {aTable : Table} ) : Integer
  • Is record loaded ( {aTable : Table} ) : Boolean
  • Modified record ( {aTable : Table} ) : Boolean
  • Sequence number ( {aTable : Table} ) : Integer
  • Records in table ( {aTable : Table} ) : Integer
  • HIGHLIGHT RECORDS ( {aTable : Table} {; setName : Text} {; *}} )
  • Selected record number ( {aTable : Table} ) : Integer
  • Before selection ( {aTable : Table} ) : Boolean
  • SQL SET PARAMETER ( object : Variable ; paramType : Integer )
  • Match regex ( pattern : Text ; aString : Text ) : Boolean
    Match regex ( pattern : Text ; aString : Text ; start : Integer {; pos_found : Integer} {; length_found : Integer }{; *} ) : Boolean
    Match regex ( pattern : Text ; aString : Text ; start : Integer {; pos_found : Integer array} {; length_found : Integer array }{; *} ) : Boolean
  • WP Table get rows ( tableRef : Object ; startRow : Integer {; numRows : Integer} ) : Object missing type
  • WP Get attributes ( targetObj : Object {; ...(attribName : Text {; attribValue : Variable })} ) : Object
  • WP Insert picture ( targetObj : Object ; pictureFileObj : 4D.File, Text; mode : Integer {; rangeUpdate : Integer}): Object pictureFileObj can be a path to picturefile
  • XML SET OPTIONS ( elementRef : Text, Integer ; selector : Integer ; value : Integer {; ...(selector : Integer ; value : Integer)} )
  • SELECTION TO ARRAY (...(aField : Field, Table ; array : Array) {; *}) Erreur manque parenthèse
  • XML GET OPTIONS ( elementRef : Text, Integer ; selector : Integer ; value : Integer {; ...(selector : Integer ; value : Integer)} )
  • SAX GET XML ELEMENT VALUE ( document : Time ; value : Variable, Field )
  • SAX ADD XML ELEMENT VALUE ( document : Time ; data : any {; *} )
  • DOM Append XML child node ( elementRef : Text ; childType : Integer ; childValue : any ) : Text
  • DOM GET XML ELEMENT VALUE ( elementRef : Text ; elementValue : Variable, Field {; cDATA : Variable, Field} )
  • SAX SET XML DECLARATION ( document : Time ; encoding : Text {; standalone : Boolean} {; indentation : Boolean})
  • SAX OPEN XML ELEMENT ARRAYS ( document : Time ; tag : Text {; ...(attribNamesArray : Text array ; attribValuesArray : Array)} )
    SAX OPEN XML ELEMENT ARRAYS ( document : Time ; tag : Text {; ...(attribNamesArray : Text ; attribValuesArray : Text)} )
  • GET LIST ITEM ( * ; list : Text ; itemPos : Integer, Operator ; itemRef : Integer ; itemText : Text {; sublist : Integer} {; expanded : Boolean} )
    GET LIST ITEM ( list : Integer ; itemPos : Integer, Operator ; itemRef : Integer ; itemText : Text {; sublist : Integer} {; expanded : Boolean} )
  • OBJECT SET COORDINATES ( * ; object : Text ; left : Integer ; top : Integer {; right : Integer {; bottom : Integer}} )
    OBJECT SET COORDINATES ( object : Variable, Field ; left : Integer ; top : Integer {; right : Integer {; bottom : Integer}} )
  • SELECTION TO ARRAY ({...(selection : Field, Table ; array : Array)}{; *})
  • Last query plan ( descFormat : Integer ) : Text
  • REGISTER CLIENT ( {clientName : Text {; *}} ) //* inserts '$' in front of clientName for compatibility
  • HIGHLIGHT RECORDS ( {aTable : Table} {; setName : Text} {; *} )
    HIGHLIGHT RECORDS ( setName : Text {; *} )
  • WEB SERVICE GET RESULT ( returnValue : Variable {; returnName : Text} {; *} )
  • Select RGB color ( {defaultColor : Integer {; message : Text}} ) : Integer
  • QUERY SELECTION BY FORMULA ( aTable : Table {; queryFormula : Expression} )
  • QUERY BY FORMULA ( aTable : Table {; queryFormula : Expression} )
  • .reduceRight( formula : 4D.Function { ; initValue : any { ; ...param : Expression }} ) : any
    .reduceRight( methodName : Text { ; initValue : any { ; ...param : Expression }} ) : any
  • .orderByMethod( formula : 4D.Function { ; ...extraParam : Expression } ) : Collection
    .orderByMethod( methodName : Text { ; ...extraParam : Expression } ) : Collection"
  • .push( element : any { ;...elementN : any } ) : Collection
  • Match regex ( pattern : Text ; aString : Text ) : Boolean
    Match regex ( pattern : Text ; aString : Text ; start : Integer {; pos_found : Integer} {; length_found : Integer }{; *} ) : Boolean
    Match regex ( pattern : Text ; aString : Text ; start : Integer {; pos_found : Integer array} {; length_found : Integer array }{; *} ) : Boolean,
  • .concat( value : any { ; ...valueN : any } ) : Collection
  • WP Get attributes ( targetObj : Object {; ...(attribName : Text {; attribValue : Variable })} ) : Object
  • SAX SET XML DECLARATION ( document : Time ; encoding : Text {; standalone : Boolean} {; indentation : Boolean} )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions