欢迎您注册加入!这里有您将更精采!
您需要 登录 才可以下载或查看,没有账号?注册
x
Add new module - Option to add the new module to the parent folder. This is useful in cross platform projects where the modules are shared between the different platforms.
Fix for a design issue that existed since B4A v1.0 where in some cases assignment of an object to a variable can also change other variables that point to the same "wrapper".
New warning:
"Comparison of Object to other types will fail if exact types do not match.
Better to put the object on the right side of the comparison. (warning #35)"
See this post for more information
Support for Java 14 (must use the one downloaded from B4X).
Fix for empty description windows in some cases.
Several debugger fixes.
New "contribute" menu item.
Current selected line, in the search results and other syntax colored lists, is displayed.
B4XTurtle and BCTextEngine are now internal libraries.
Network v1.52 - UDPSocket.GetBroadcastAddress method.
The code editor cursor color can be changed in the INI file. It uses the same 0xAABBGGRR format as in the theme files (CursorColor=0x000000FF).
Template of XUI custom views was updated. The convention explained here is implemented
Fix for compilation error when compiling projects with many modules.
Latest versions of all internal libraries are included.
Other bug fixes and minor IDE improvements.
B4A v9.9beta1
New warning #35:
"Comparison of Object to other types will fail if exact types do not match.Better to put the object on the right side of the comparison."
[Visual Basic] 纯文本查看 复制代码 Dim m As Map = CreateMap("x": 1)
If m.Get("x") = 1 Then '<--- warning here (although the code will work as expected in this case).
End If
The reason behind this warning is that the types must match exactly for the comparison to return the expected result.
It is better to write it like this:
[Visual Basic] 纯文本查看 复制代码 If 1 = m.Get("x") Then 'no warning here
Now the compiler will know that it is a numeric comparison and it will be safer.
Example where it will actually fail unless we switch sides:
[Visual Basic] 纯文本查看 复制代码 Dim d As Double = 1
Dim m As Map = CreateMap("x": d)
Log(d = 1) 'true
Log(m.Get("x") = 1) 'false <---- unexpected
Log(1 = m.Get("x")) 'true
百度云下载:https://pan.baidu.com/s/1Zx30dKrxE9mHjAJSGdl7lQ 提取码:op7x
天翼云下载:https://cloud.189.cn/t/AnUvUr3yeEV3 访问码:qn88
因时间仓促,没细看需要的下载吧……
|