[Gambas-Notification] [Git][gambas/gambas][master] 'Eval()' now can evaluate several expressions at once, provided that they are...

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Wed Mar 29 12:18:24 CEST 2023



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
06a1d2e3 by Benoît Minisini at 2023-03-29T12:16:47+02:00
'Eval()' now can evaluate several expressions at once, provided that they are separated by newlines. The value of the last expression is returned.

[INTERPRETER]
* NEW: Support for the new Eval() feature.

[GB.EVAL]
* NEW: 'Eval()' now can evaluate several expressions at once, provided that they are separated by newlines. The value of the last expression is returned.
* NEW: 'Eval()' now returns NULL if its last expression returns nothing.

- - - - -


4 changed files:

- main/gbx/gbx_exec_loop.c
- main/lib/eval/eval.c
- main/lib/eval/eval_read.c
- main/lib/eval/eval_read.h


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/06a1d2e33d3186d01b07548b2b3f4c78de7e4b83

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/06a1d2e33d3186d01b07548b2b3f4c78de7e4b83
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20230329/779439c5/attachment.htm>


More information about the Notification mailing list