loading of 'cal

Hi guys.

I used to

(if (not cal)(xload "geomcal"))

and it sure seemed to work.

got away from using cal in lisp, and now I have a use for it again. the routine works, but I have to run cal from the command line to make my lisp run.

what did they do to me while I wasn't looking?

my routine draws polygons for bricks along an arc, for brick arches over doors & windows. saves me a bunch of time, but I need trig functions.......

wounds the ego that I have to type something like

'cal 2 + 2

4

to invoke the cal, so lisp can use it later.....

cal call >>> MMOOOOOOO!

think I'm getting slap happy.

MAKE ME LOOK EVEN MORE FOOLISH - TELL ME THE SIMPLE FIX.

thanks in advance,

roy

Reply to
Roy Knapp
Loading thread data ...

(if (not cal)(arxload "geomcal.arx"))

Roy Knapp a écrit :

Reply to
Michel

why don't you just use the calculator that comes with windows? if you open it and go to the view menu, you can set it to scientific and it will do most scientific calcs.

you could also copy it to the desktop and drag it down to the quicklaunch area of your taskbar and then you can click on it at will.

s

functions.......

Reply to
sean

Hi

"Roy Knapp" skrev i en meddelelse news:Xns93DEDC65D2EE2roynish@216.168.3.44...

Snip

Why do you even use Cal. (+ 2.0 2.0) work perfect , and if you need any other Cal functions, why not define such in Lisp or look them up instead of the troubled calls to Cal. Anyway if simple plus and minus is what you ask, just use Lisp. P.C.

formatting link

Reply to
P.C.

Michel wrote in news:3F460381.B5E52733 @hydro.qc.ca:

YES!!

thank you very much, I never had a good grasp of xload, and I missed arx functions entirely.

at any rate your help solved my problem, and I thank you.

Roy

Reply to
Roy Knapp

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.