This website requires JavaScript.
Explore
Help
Register
Sign In
Virtualization
/
meson
mirror of
https://gitlab.com/qemu-project/meson.git
Watch
1
Star
0
Fork
You've already forked meson
0
Code
Issues
Projects
Releases
Wiki
Activity
6a9a1557e4
meson
/
test cases
/
failing
/
13 array arithmetic
/
meson.build
4 lines
55 B
Meson
Raw
Normal View
History
Unescape
Escape
More strict type checking for arithmetic operations.
2014-11-17 01:56:22 +08:00
project
(
'array arithmetic'
,
'c'
)
Add number, string and array arithmetic Addition (+), subtraction (-), multiplication (*) and division (/) for numbers follows the BIDMAS rules. Strings and arrays can be concatenated with the addition operator Strings can be concatenated with numbers with the addition operator
2014-11-08 09:41:05 +08:00
More strict type checking for arithmetic operations.
2014-11-17 01:56:22 +08:00
foo
=
[
'a'
,
'b'
]
*
3