大多数变量和函数应以小写字母开头。
Most variables and functions should start with a lower case letter.
如果想要引用一个字母或词语而不是变量,请使用引号将其括起来。
If you want to refer to a letter or word rather than a variable, enclose it in quotes.
如果当前字母的下标和字符串的长度相等,那么这个变量是一个空字符串。
If the index of the current letter is equal to the length of the string, this variable is an empty string.
字母是变量,所以使用之前必须先为其赋值。
Letters are variables, so you must assign a value to them before you use them.
常量—终态静态字段和临时终态本地变量—全部适用大写字母,并以下划线分隔各词,如MAX_CONNECTIONS。
Constants - final static fields and occasionally final local variables - are written in all uppercase with underscores separating the words, as in MAX_CONNECTIONS.
设置变量,在0..9之间的8个字母。
接下来,只要它发现有数字或字母,就一直循环下去,并将字符累积在变量(token )中。
Next it loops for as long as it finds digits or letters and accumulates the character in a variable (token).
请确保以大写字母的方式使用这些变量的名称,因为xquery是一个区分大小写的语言,而且关系列名称常常以大写的方式存储。
Make sure to use the name of these variables in capital letters as xquery is a case sensitive language and relation column names are always stored in capital letters.
变量一般最好根据用途命名(如 firstName或rtitle),不过由于这个变量基本上是一个循环计数器,也可使用单个字母。
Normally, variables are best named by their use (like firstName or title), but as this variable is essentially a loop counter, using single letters is also fine.
在上面的命令序列中,把变量var设置为两字母的字符串ls。
In the sequence above, the variable var is set to the two-letter string ls.
W3Eval的变量是不限长度的大写字母和数字序列,其首字符必须是字母。
A variable in W3Eval is an unlimited-length sequence of uppercase letters and digits, the first of which must be a letter.
方法、字段和本地变量名以小写字母开头,如read 。
Method, field, and local variable names begin with a lowercase letter, as in read .
Vimscript函数没有使用前导大写字母,相反,可以使用显式的范围前缀声明函数(类似变量,如第1部分所述)。
Instead of using a leading capital letter, Vimscript functions can also be declared with an explicit scope prefix (like variables can be, as described in Part 1).
从单一的键释放时间一直到用户名中每个已记录字母的键释放时间,逐级构建每个in_string变量。
Each in_string variable is built level by level from a single intra-key release time all the way up to a key-release time for each recorded letter in the user name.
Python的变量名称约定与php类似:您在创建变量名时只能使用字母、数字和下划线(_)。
Python variable name conventions are similar to PHP: You can only use letters, Numbers, and the underscore character (_) when creating a variable name.
本文中的所有变量、合作伙伴链接和活动都以大写字母开头。
All variables, partner links, and activities in this article begin with at capital letter.
变量列表现在可以按字母顺序排序。
用大写字母来定义变量也很有用,这样就使得这些变量在脚本中更容易识别。
It is also useful to define variables in capital letters so that they can easily be identified within a script.
类似地,如果您直接在字母数字文本后面使用变量名称,则还要确保将该变量名称包括在方括号()中,以使其与周围的文本区分开来。
Similarly, if you are directly following a variable name with alphanumeric text, be sure also to enclose the variable name in curly braces () to distinguish it from the surrounding text.
具体来说,变量名字应当以小写字母开头;类名以大些字母开头。
In particular, variable names should begin with a lowercase letter; class names should begin with an uppercase letter.
如果有一个30个变量的函数,什么都一样,只是式子长了点,你还会用完字母表中的所有字母。
If you have a function of 30 variables, things work the same way, just longer, and you are going to run out of letters in the alphabet before the end.
变量名应由26个大小写字母(A..Z,a..z),10个数字(0..9),和_(下划线)组成。
Names should be formed from the 26 upper and lower case letters (A .. Z, a .. z), the 10 digits (0 .. 9), and _ (underbar).
你可以建立26个变量,每一个代表一个字母。
You could create 26 variables, one for each letter of the alphabet.
Erlang中的变量必须以大写字母开头,后面是大写字母、小写字母和下划线的任意组合(参见清单28)。
Variables in Erlang must start with a capital letter and be followed by any combination of upper and lowercase letters and underscores (see Listing 28).
除首字母大写外、用小写字母打印并排序所有环境变量的多行循环。
A multi-line loop to print all the environment variables in lowercase, with the first letter uppercase, and sorted.
除首字母大写外、用小写字母打印并排序所有环境变量的单行循环。
A one-line loop to print all the environment variables in lowercase, with the first letter uppercase, and sorted.
使用map,并且除首字母大写外、以小写字母打印并排序所有环境变量的单行循环。
A one-line loop to print all the environment variables in lowercase, with the first letter uppercase, and sorted, using map.
变量名必须从一个字母开始,因此Velocity很容易把变量名与模板中的货币符号分开(比如, $100不可能是一个变量名)。
Variable names must begin with a letter, which makes it easy for Velocity to distinguish variable names from currency notation within a template (for instance, $100 cannot be a variable name).
使用map,并且除首字母大写外、以小写字母打印并排序所有环境变量的多行循环。
A multi-line loop to print all the environment variables in lowercase, with the first letter uppercase, and sorted, using map.
另一个糟糕的做法是用单字母的变量名如i,j,k。
Another bad practice is to use single-letter variable names such as I, j, and k.
应用推荐