?? p18 array.ox
字號:
#include <oxstd.h>
main()
{
decl as = {"ax", 6, "cx"};
println("the array looks like this: ", as);
print("a single index of an array is a STRING: ", as[0],
"\na multiple index of an array is an array of STRINGS:", as[0:1],
"to keep a single index as an array, use the array function :", array(as[0]) );
}
//The array cast can be useful when an array indexing must remain an array.
//For example, a single index on an array of strings returns a string,
//whereas a multiple index returns an array of strings.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -