Re: [Pharo-users] Bloc of code in tiers programming language

2019-05-18 Thread Herby Vojčík
On 15. 5. 2019 15:44, Tomaž Turk wrote: In javascript I believe is var f = function(x) { return Math.cos(x) + x; } var df = function(x) { return f(x + 1e-8) - f(x) * 1e8; } You should use modern JS for comparision, though, so: const f = x => Math.cos(x) + x; const df = x => (f(x + 1e-8) - f(x

Re: [Pharo-users] Bloc of code in tiers programming language

2019-05-18 Thread Hilaire
Thanks for the update. Hilaire -- Dr. Geo http://drgeo.eu

[Pharo-users] unable to parse "JOIN" clause with PetitSQLiteGrammar

2019-05-18 Thread matteob8 via Pharo-users
--- Begin Message --- Good evening, I'm working with "PetitSQLParser" on Pharo 7.0.3 and I've some trouble parsing a "JOIN" query using the class "PetitSQLiteGrammar". More specifically the code is: |identSQL| identSQL:=PetitSQLiteGrammar new. identSQL parse: 'SELECT Code FROM Code_year INNER JOI