清单3显示了使用php名称空间定义本地和全局字符串常量的一个例子。
Listing 3 shows an example of using PHP namespaces to define local and global string constants.
这就是为什么看到本地定义的字符串首先显示。
This is why you see the locally defined string appearing first.
另外,当您定义TOPIC对象时,它们被映射到表2中显示的主题字符串。
Furthermore, when you defined the topic objects, they were mapped to the topic strings shown above in Table 2.
那会允许我们不光让按钮显示文字字符串,而且可以显示任何自定义的内容(就象我们在本教程早先时候做的那样)。
That will enable us to have the button display not just text strings, but any custom content as well (just like we did earlier in this tutorial).
如果显示的字段的宽度大于80个字符,每个记录的结果按表中的字段定义跨多行显示。
If the width of the fields to be displayed is greater than 80 characters wide, the results for each record is displayed over multiple lines, as defined by the fields in the table.
颜色设好后,text函数就会向将时间字符串发送到显示窗口已定义的坐标位置。
With the colors set, the text function emits your time string to the display window at the defined coordinates.
清单1显示了一个简单的例子,它声明了一个包含6个属性的hash:一个字符串、一个整数、一个布尔值、一个未定义的属性、另一个hash和一个函数。
A simple example is shown in Listing 1, declaring a hash consisting of 6 attributes: a string, an integer, a Boolean, an undefined attribute, another hash, and a function.
此时将显示您创建的自定义图标和三个字符串。
The custom icon and the three strings that you created are displayed.
此时将显示您创建的自定义图标和三个字符串。
The custom icon and the three strings that you created are displayed.
应用推荐