Author Topic: Pronouncing AutoLISP  (Read 9024 times)

0 Members and 1 Guest are viewing this topic.

zoltan

  • Guest
Re: Pronouncing AutoLISP
« Reply #15 on: July 29, 2006, 03:48:32 PM »
itoa - Integer to Atom
atof - Atom to Float

(i think)

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: Pronouncing AutoLISP
« Reply #16 on: July 31, 2006, 12:48:20 PM »
Great thread!

How about these?

atof  = a-t-o-f
getkword = get key word *yawn*
itoa = i-t-o-a

atof = hat off
getkword= get keyword
itoa = iota

(not that I do any programming... I just look at other peoples to see if I can figure out what does what)
Thanks for explaining the word "many" to me, it means a lot.

Sdoman

  • Guest
Re: Pronouncing AutoLISP
« Reply #17 on: August 02, 2006, 08:04:32 AM »
itoa - Integer to Atom
atof - Atom to Float

(i think)

Another variant:
atof - Ascii to Floating, meaning convert string to real (floating point) number

Sdoman

  • Guest
Re: Pronouncing AutoLISP
« Reply #18 on: August 02, 2006, 08:11:46 AM »

atof = hat off
getkword= get keyword
itoa = iota

(not that I do any programming... I just look at other peoples to see if I can figure out what does what)

Hat Off and Iota !  Thanks for the great humor Jonesy.

daron

  • Guest
Re: Pronouncing AutoLISP
« Reply #19 on: August 02, 2006, 08:58:18 AM »
Most of the previous one's I'd pronounce as others have stated, except:
princ = prink

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: Pronouncing AutoLISP
« Reply #20 on: June 09, 2013, 02:36:20 PM »
Just stumbled across this great thread and thought I'd add my own pronunciations for some common AutoLISP functions:

cdr        = C-D-R
cadr       = C-A-D-R
cdar       = C-D-A-R
etc.

atof       = a-tov
atoi       = A-toy
itoa       = I-T-O-A
rtos       = R-toz
distof     = diss-tov

defun      = D-fun
setq       = set-Q
mapcar     = map-car
lambda     = lamb-dah
logior     = log-I-or
progn      = prog-n

princ      = prink
prin1      = prin-one
terpri     = terr-pree
textscr    = text-screen

strcase    = string-case
strcat     = string-cat
strlen     = string-length
substr     = sub-string
wcmatch    = W-C-match

tblnext    = table-next
tblobjname = table-object-name
tblsearch  = table-search

vlax-*     = V-lax (as in relax)
vl-*       = V-L
vlr-       = V-L-R


Print-see or Print-cee sounds good.  But I wonder what the "C" is for?  Where is Print-A and Print-B?

Since princ is designed to output data that is 'intended to look good for people', I would guess that the 'c' stands for 'console', i.e. print to console?

I guess the "N" in Progn confused me.  Group N lines?

I believe progn is the nth extension of the prog1 & prog2 functions found in Common LISP, to evaluate all n supplied expressions.

atof  = perhaps it would have been more appropriate for the authors of AutoLISP to have named this function stor for string-to-real

itoa = likewise, itos for integer-to-string would have been better imo.

As suggested by others, I understood atof to be a shortening of ASCII to float; similarly, itoa as integer to ASCII; however, for me, the inconsistency lies with the rtos & distof functions... by the same logic, I would have thought rtos (real to string) should be ftoa (float to ASCII), or that either distof (distance to float I presume?) or atof should instead be stor (string to real) as you've suggested.

Interesting thread  :-)