From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 05 Nov 2020 20:10:46 +0100 Subject: [PATCH 10/10] setexpr: Add support for strings In-Reply-To: References: <20201101211544.3579850-1-sjg@chromium.org> <20201101211544.3579850-11-sjg@chromium.org> <20201102000824.10fb538c@nic.cz> <394232.1604594845@gemini.denx.de> Message-ID: <402406.1604603446@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon. In message you wrote: > > > > setexpr c *10 + *100 > > > > I don't get it. The equivalent to "${a}${b}" would be > > > > setexpr c "*10*100" > > > > which is even simpler? > > I don't see how that works. The *10 thing in my example reads a string > out of address 10. Ah, got it. This requires your "[PATCH 10/10] setexpr: Add support for strings" first... But then... should there not be some '.s' size specification somewhere? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Unix is simple, but it takes a genius to understand the simplicity." - Dennis Ritchie