📄 listing8-03_ifdef.txt
字号:
// use this snippet as an example how to use the //#ifdef directive.
// In this example we add an extra menu element when the target device
// has a camera:
this.menuScreen = new List( "Menu", List.IMPLICIT );
this.menuScreen.append("Load Photos", null );
this.menuScreen.append("View Photos", null );
//#ifdef polish.hasCamera
this.menuScreen.append("Create Photo", null );
//#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -