Author Topic: Fixnump: nil?  (Read 4214 times)

0 Members and 1 Guest are viewing this topic.

GDF

  • Water Moccasin
  • Posts: 2081
Fixnump: nil?
« on: January 01, 2006, 12:18:12 PM »
Can someone refresh my memory...What does the following mean?

Error: bad argument type: fixnump: nil

Gary
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Fixnump: nil?
« Reply #1 on: January 01, 2006, 04:22:18 PM »
You are passing a nil argument to a funtion that is expecting a number.
Quote
Command: (setq a nil)
nil

Command: (1+ a)
; error: bad argument type: numberp: nil

LE

  • Guest
Re: Fixnump: nil?
« Reply #2 on: January 01, 2006, 10:04:55 PM »
Can someone refresh my memory...What does the following mean?

Error: bad argument type: fixnump: nil

Gary

I can get that error when:

Code: [Select]
_$ (itoa "a")
; error: bad argument type: fixnump: "a"

_$ (itoa nil)
; error: bad argument type: fixnump: nil

GDF

  • Water Moccasin
  • Posts: 2081
Re: Fixnump: nil?
« Reply #3 on: January 02, 2006, 09:15:22 AM »
Thanks Jeff and Luis, to make more room in my brain, something has to get pushed out....see I just forgot something else.

I tried looking up fixnump in the help files without any luck.

Gary
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64