Hi Peter, Thanks once again for your efforts. If you have a quick look at my original post, you'll see that I have already tried using AddColumn but it is not allowed in this instance. Given that what I'm doing is creating an advanced version of the CSVtoArray function, and therefore reading a complex CSV, what I finished up doing was to parse just the first row of the CSV to deteby Geoff Spillane - WinDev Forum
Hi Peter, Thank you for your efforts, however this doesn't work either. The row dimension increases due to the AddLine function but the column dimension remains at 0 elements and therefore in your example, trying to subsequently reference say x[2,4] which you might expect to produce "G", it produces an error because the array remains with 0 elements in the column dimension. Bby Geoff Spillane - WinDev Forum
Hi Dennis, Before you make a sarcastic reply you need to check the advice you give is relevant. I have already been through all those Array functions and nothing there allows me to dynamically add a column to an Array. Of course you are putting yourself forward as being much wiser so perhaps you can point to the function that will achieve this. Geoffby Geoff Spillane - WinDev Forum
Thank you for your reply Vassilis, but this is only possible to use after I already have the array. To clarify I have a CSV file that is too complex to use the CSVtoArray function so I need to interrogate the complete file before the number of columns and number of rows are known to be able to define the Array to assign the values of each field. What I do at the moment is define the Array aby Geoff Spillane - WinDev Forum
WinDev27 - I wish to use a 2 dimensional array of strings but I don't know the size of the dimensions before I start. I can use ArrayAddLine to increase the row dimension and I thought I could use AddColumn to increase the column dimension but that gives me an error "This function is not available for an element of 'array (ANSI string)' type". Is there a way to achieve thby Geoff Spillane - WinDev Forum
Thank you for your reply Argus. Your thoughts have a lot of merit. I'll report that back to the customer.by Geoff Spillane - WinDev Forum
I have a customer who works for a company that markets a product that is developed and maintained for them by a third-party contractor using WebDev. He specifically is responsible for identifying (and thus hopefully remediating) potential security vulnerabilities in code bases and compiled binaries prior to the products ever hitting production. The tools he currently uses (Checkmarx and Blackducby Geoff Spillane - WinDev Forum