Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: 1 [2]
  Reply  |  Print  
Author Topic: Monday - Plenary - vNext: Language Modernization - Rene Schacht  (Read 3838 times)
Eric B.
Posts: 10


« Reply #15 on: January 08, 2021, 09:30:36 pm »

Next idea:  Richer set of operators.  Adds support for the following operators: +=, -=, *=, /=, and IN.

For instance:
LET x = x + 1    is the same as    LET x += 1
This could be used with any of the normal math operators (+=, -=, *=, etc.).

IN is a shortened form of OR:
IF x IN ('Y','y') THENů    is the same as    IF (x = 'Y' OR x = 'y') THEN
Reuben B.
Four Js
Posts: 834


« Reply #16 on: January 08, 2021, 11:13:56 pm »

Before conversation goes too far, can I suggest that each suggestion be posted as a seperate thread in the Genero BDL board https://forum.4js.com/fjs_forum/index.php?board=2.0.  This will allow each topic to be discussed individually and the conversation flow will be a lot clearer and nothing will get lost.

Also when you do, use the Code Syntax button to highlight the code samples.

Thanks,

Reuben

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: 1 [2]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines