周波斯

导航

编程常用的变量命名英文缩写

A

addr = address
app = application
arg = argument
asm = assemble
asyn = asynchronization
auth = authorization / authentication
avg = average

B

buf = buffer

C

calc = calculate
cert = certificate
cmd = command
cmp = compare
col = column
coord = coordinates
cur = current

D

db = database
dec = decrease
del = delete
dest / dst = destination
dev = device
dict = dictionary
diff = different
dir = directory
disp = display
dlg = dialog
doc = document
drv = driver

E

env = environment
err = error
esc = escape
ext = extension
exec = execute

F

frm = frame
func / fn = function

G

grp = group

H

horz = horizontal

I

idx = index
img = image
inc = increase
info = information
init = initial/initialize/initialization
ins = insert
inst = instance
intr = interrupt
i18n = internationalization

L

lang = language
len = length
lib = library
lst = list

M

max = maximum
mem = memory
mid = middle
min = minimum
msg = message
mul = multiply

N

num = number

O

obj = object
ofs = offset
org = origin

P

param = parameter
pic = picture
pkg = package
pos = position
prev = previous
prg = program
proc = process / procedure
prop = properties
psw = password
ptr = pointer
pub = public

R

ref = reference
reg = register
req = request
resp = response
res = result
ret = return
rgn = region
rsrc = resource

S

scr = screen
sec = second
seg = segment
sel = select
src = source
std = standard
stm = stream
str = string
sub = subtract
sum = summation
svr = server
sync = synchronization
sys = system

T

tmp / temp = temporary
tran / trans = translate/transation/transparent
txt = text

U

upd = update
upg = upgrade
util = utility

V

var = variable
ver = version
vert = vertical

W

wnd = window

posted on 2023-07-24 17:47  周波斯  阅读(290)  评论(0编辑  收藏  举报