Skip to content

Commit 6bb6d05

Browse files
committed
Merge branch 'bkemain' into 'oramain'
Bkemain See merge request rwp/rwloadsim!24
2 parents c8fa80e + f889ad7 commit 6bb6d05

File tree

15 files changed

+51
-19
lines changed

15 files changed

+51
-19
lines changed

docs/EXPRESSION.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ The full list of operators in order of precedence are:
1313
|operator|description|type|
1414
|--------|-----------|----|
1515
|is [not] null|Check for (not) null|Post-fix, monadic|
16-
|- ! not|Arithmetic negative, two synonyms for boolean not|Prefix, monadic|
16+
|- ! not ~|Arithmetic negative, two synonyms for boolean not, bitwise not|Prefix, monadic|
1717
|* / %|Multiplication, division, and integer remainder|Dyadic|
1818
|+ -|Addition, subtraction|Dyadic|
19+
|<< >>|Bitwise left and right shift|Dyadic|
1920
|< <= > >= between/and|Inequality comparisons|Dyadic (between/and triadic)|
2021
|= != <>|Equality and two synonyms for non-equality|Dyadic|
22+
|&|Bitwise and|Dyadic|
23+
|^|Bitwise exclusive or|Dyadic|
24+
|&#124;|Bitwise or|Dyadic|
2125
|and|Boolean and|Dyadic|
2226
|or|Boolean or|Dyadic|
2327
|? :|Conditional expression|Triadic|
@@ -33,10 +37,12 @@ The rwloadsim language has three types of assignments:
3337
|operator|description|
3438
|--------|-----------|
3539
|:=|Ordinary assignment that assigns the value on the right side to the variable on the left|
36-
|+=|Increment assignment that adds the value on the right side to the variable on the left, which must be an integer or a double|
40+
|+= -=|Increment and decrement assignment that adds or subtracts the value on the right side to the variable on the left, which must be an integer or a double|
41+
|&#124;= &~=|Bitwise set and clear assignment that sets or clears the bits of the value on the right side in the variable on the left, which must be an integer|
3742
|&#124;&#124;=|Append assignment that appends the value on the right side to the variable on the left, which must be a string|
3843

39-
Constants of type integer are sequences of digits, constants of type double
44+
Constants of type integer are sequences of digits or 0x followed by a sequence
45+
of hexadicimal digits, constants of type double
4046
contain a decimal point and or an exponent.
4147
A possible - in front of a number constant is never part of the constant, it
4248
is always the unary minus operator.
@@ -82,6 +88,10 @@ a := 1 + "2.9"; # will assign 3 to the integer as the
8288
# implicit conversion from string to integer stops at "."
8389
a += b+c; # increase the value of a by the sum of b and c
8490
91+
integer bitval := 0;
92+
# set bit 5 in the variable bitval
93+
bitval |= 0x1<<4;
94+
8595
# declare a string variable and assign some text to it
8696
string helloworld := "Hello";
8797
# append some more text to it

docs/NEWS31.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## News and updates for version 3.1.4 of the RWP\*Load Simulator
2+
3+
The most important changes in version 3.1.4 are:
4+
5+
### Bitwise operations and hexadecimal input
6+
7+
Bitwise shift, and, or and exclusive or has been added as well as the ability
8+
to input hexadecimal integer constants.
9+
10+
### New operators
11+
12+
For bitwise operations, |= and &~= operators have been added to respectively set or clear bits
13+
in an integer.
14+
15+
### Functions for database end-2-end tracing
16+
17+
Two new functions, dbseconds() and ociseconds() have been added; they return respectively the
18+
time spent on the database side and on the clienside when executing select OCI calls.
19+
120
## News and updates for version 3.1.3 of the RWP\*Load Simulator
221

322
The most important changes in version 3.1.3 are:

docs/refman/concatenation.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/refman/constant.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/refman/expression.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/refman/function.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/refman/ociping.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/refman/statement.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/refman/statementlist.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/man2rwl/connping.2rwl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ in the bin directory that calls rwloadsim with the -u option getting connping.rw
106106
the public directory.
107107
As a stand alone binary distribution, connping is an executable with the connping.rwl code
108108
embedded.
109+
.SH DOWNLOAD
110+
Please refer to https://github.com/oracle/rwloadsim for information about download and install.
109111
.SH COPYRIGHT
110112
Copyright \(co 2023 Oracle Corporation
111113
.br

0 commit comments

Comments
 (0)