MS4BIĀ®

MS4BI HELP 2022

by MS4script
01-Introduction
Preface & Copyright
Getting started
Informations + Cmd/param Server
Demos Simple
02- Declarations
Structure
Type
03- Instructions
Conditions if,do,while..
Char/Text functions Char or Text..()
Get + Include functions Get, Include..
String functions String# (hashtag)
Date-Time Day, Time, Year.
Display
Call
Formulas Complex
04- Database
Connector Ado, Odbc, Dsn, SAP, Ms4
DB Connect Create, delete
Import DataSource Import, Consolidation
Administration Admin, User
05- Sql-Query
Sql
Query Form : BTS,Plus
Grid option
06- Charts
Forms Plus, Win, Image, Excel, Morris...
Pie Std, Donut, 3D...
Bar Std, Stack, Line, Area, Plot
Radar
QrCode, Gauge
Step, Stock...
,Google,Leaflet... GeoMap
,Gantt,Timeline,Org.
DrawWindow [web]
07- Dashboard
Form tab, no tab
Responsive UI
08- Report
Report Hierarchy
Report Design
09- Filters
Dialogue + Call
10- Menus
Menu Design
Menu Frameset
Menu Custom
11-UI : Responsive
Tables Responsive,Frame,position
List Group
Text
Panel Header, body, Footer
Button Button, Progress Bar
Icon & Button
Collapse Group, Panel
Notifications
12- Encryption
Encrypt
Decrypt
13- Windows
Dialogue
Picture, Frame, Button..
MsgBox
Grid

Designer

00-OverView
01-Transaction
02-Setting
05-Import
10-Formula
15-Report-Part1
16-Report-Part2
20-Query-Part1
21-Query-Part2
25-Report-Query-Style
30-QrCodeImage
31-Windows
32-Frame
40-TabStrip
50-Collapse
60-BeginForm
63-Input-SubmitBox
70-Input-Select
71-Input-Insert
72-Input-Update
73-Input-Delete
75-Input-Query
77-ListComBo
81-Button-Link
82-Button-DataList
86-Sticky-Label
91-Insert-PhpJsHtml
92-Insert-MS4script
15- Css, html, Php, js.
Insert Native language Begin_sw..End_Sw
16-Install + tools.
Installation & Configuration This Menu
Generate Native... Php, Html, js..
Code Generator Ms4 Script
MarkDown Ms4 Script
Source Code Menu Help This Menu
written with ms4script
      

BASIC HELP : MS4BI by MS4script

2022 version 1.10

Chapter 3 : INSTRUCTIONS

KEYWORD : FORMULA

Definition

Create a complex mathematical formula, returning an integer, long, float or double type value.

Syntax

  		VarName = FORMULA(<(expressions)><(expressions)>...) 	
	(optional : variables) ,ivalue, Lvalue, fvalue, dvalue,     )   ;
-The variables are defined using the following convention: %i integer, %l long ,%f float ,%d double

Example 1 (constants)

   
float : fvalue dec(2) ;
Double : dvalue dec(2);
long   :   lvalue;
integer:   ivalue;
Display "--------------------------------------------------------- " ;
Display "                     Example complex/scientific FORMULA  " ;
 BEGIN 
  
	Dvalue := Formula(  "(  (((2*30)+50 )^2)- ( (20-6 ) *2 ) ) *1000000 /( (1000/2) *4 )"   ) ;

Dvalue :=  Formula(" Sin(0.25 * PI)^2");
 
Dvalue :=  Formula(" exp(20)");
Dvalue :=  Formula(" ABS(234)");
Dvalue :=  Formula(" Sin(1200*5)");
Dvalue :=  Formula(" 2.5 * ( 3 + 1.1 * Sqrt(25))");

dvalue := Formula(" 3.5^2"); 
 ** VARIABLES !!!!
 ivalue:= 2; Lvalue := 30;fvalue :=1000;
 
 clear dvalue;
  dvalue := 1000000;
		Dvalue := Formula(  "( (((%i*%l)+50 )^2)- ( (20-6 ) *%i ) ) "+
	                    " *%d /( (%f/2) *4)",ivalue,Lvalue,ivalue,dvalue,fvalue    ) ;

         Display "Formula   VARIABLE :  Double value = ", Dvalue;
	

Example 2 (variables)

   
float : fvalue dec(2) ;
Double : dvalue dec(2);
long   :   lvalue;
integer:   ivalue;
Display "--------------------------------------------------------- " ;
Display "                     Example complex/scientific FORMULA  " ;
 BEGIN 
 
 ** VARIABLES !!!!
 ivalue:= 2; Lvalue := 30;fvalue :=1000;
 
 clear dvalue;
  dvalue := 1000000;
		Dvalue :=  Formula(  "( (((%i*%l)+50 )^2)- ( (20-6 ) * %i ) ) "+ 
	                    " *%d /( (%f /2) *4)",ivalue,Lvalue,ivalue,dvalue,fvalue    ) ; 

         Display "Formula   VARIABLE :  Double value = ", Dvalue;
	

Pre-requisites

Mathematical function with constants that can be arithmetic ABS , EXP ,SIGN,SQRT,LOG,LOG10 trigonometric SIN,COS,TAN,ASIN,ACOS,ATAN probability FACTORIAL
othes E 2.7182818284590452353602874713527
PI 3.1415926535897932384626433832795

Remarks

The variables are defined using the following convention: %i integer, %l long ,%f float ,%d double



Interested in joining us? contact@mgplanete.com
The Mg Planete team


Copyright 2022 by Mandragore Planete

the official sites :
mgplanete.com
getms4bi.com
demos.ms4bi.com
help.ms4bi.com
ms4script.com

Download

official site :
getms4bi.com

Our purpose : Keep it simple !


written with ms4script
  • help 01.010.2022.8

MS4BI in 5 minutes