Yogesh Chauhan's Blog

The * arithmetic operator in Envision Basic

in Envision Basic on November 10, 2021

The * arithmetic operator


expression * expression

The * arithmetic operator basically multiplies the expressions.

It can multiply the expressions on either side of the operator.

The * arithmetic operator is a synonym for another Envision Basic command, REM. REM creates a comment line.

You must include the REUSE function to apply arithmetic operations to all elements of a dynamic array.



The *= arithmetic operator


var =* expression

The *= arithmetic operator multiplies the value of a variable by the specified number.

Using *= operator is more efficient since it’s less code. For e.g. VAR *= 2 is better then VAR = VAR * 2

You must include the REUSE function to apply arithmetic operations to all elements of a dynamic array.


VAR1 = 10
VAR1 *= 2
// VAR1 IS 20 NOW

Most Read

#1 Solution to the error “Visual Studio Code can’t be opened because Apple cannot check it for malicious software” #2 How to add Read More Read Less Button using JavaScript? #3 How to check if radio button is checked or not using JavaScript? #4 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #5 How to uninstall Cocoapods from the Mac OS? #6 PHP Login System using PDO Part 1: Create User Registration Page

Recently Posted

#Apr 8 JSON.stringify() in JavaScript #Apr 7 Middleware in NextJS #Jan 17 4 advanced ways to search Colleague #Jan 16 Colleague UI Basics: The Search Area #Jan 16 Colleague UI Basics: The Context Area #Jan 16 Colleague UI Basics: Accessing the user interface
You might also like these
FETCH clause in PostgreSQLPostgresUnary Operators in JavaScriptJavaScriptWhat Is a Graph Database?MiscellaneousAn Example of Cross-site Scripting (XSS) Attack in PHP and How to Avoid It?PHPLearn to Implement Estimated Reading Time using PHP Part 2: Final Implementation with Source CodePHPWordPress: How to get field values in Advanced Custom Fields?WordPress@forward modules with a prefix in SCSS (Sass)SCSSinclude, include_once, require, require_once in PHPPHPWhat’s a Log File and What are Log File Monitors?MiscellaneousCheck If a String Contains a Specific Word in PHPPHPfirst-of-type and last-of-type selectors in CSSCSSJavaScript arrays: a separate data type or Objects?JavaScript