Search Results

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: indienick ; Forum: Legacy and Other Languages and child forums
Forum: Legacy and Other Languages Dec 10th, 2007
Replies: 3
Views: 2,022
Posted By indienick
Way to beef up your post count, hopalongcassidy. If you hate Lisp so much, then avoid any thread with "Lisp" or "Scheme" in the title.

Sheesh.

I'm sorry for that lsprog.
I haven't done much...
Forum: Legacy and Other Languages Jun 14th, 2007
Replies: 4
Views: 1,619
Posted By indienick
You're very welcome, dmmckelv. :)

azimuth0: Thanks for the additional info - I've never used READ, and just assumed it returned any expression as a string type, and not the entire line. Bad call...
Forum: Legacy and Other Languages Jun 14th, 2007
Replies: 7
Views: 2,669
Posted By indienick
The rudeness of some people on this forum floors me.

gamingfan1993, here's a rough sketch (in QBASIC):


INPUT "User to look up: ", lookup$

OPEN "data.txt" FOR READ AS #1

lengthoflookup%...
Forum: Legacy and Other Languages Jun 14th, 2007
Replies: 4
Views: 1,619
Posted By indienick
It appears you have a superfluous opening parenthesis just before the FORMAT call:

(defun adder ()
(format t "Enter a number, press return and enter another number")
(setq number-one (read))...
Forum: Legacy and Other Languages Jan 22nd, 2007
Replies: 8
Views: 6,335
Posted By indienick
Even though this thread is approximately 10 months old, I'm going to resurrect it anyways.

What is the purpose of this? Normally I wouldn't ask, but what you're asking for here is for a list of...
Forum: Legacy and Other Languages Jan 22nd, 2007
Replies: 4
Views: 2,345
Posted By indienick
The logical condition is correct, but watch the syntax: (and (numberp n) (numberp m))

Try this:

(if (numberp m)
(if (numberp n)
(+ m n)
((lambda ()
(format t...
Forum: Legacy and Other Languages Jan 22nd, 2007
Replies: 4
Views: 2,345
Posted By indienick
It's logically correct, but watch the spacing:
(and (numberp n) (numberp m))
Forum: Legacy and Other Languages Jan 21st, 2007
Replies: 1
Views: 3,829
Posted By indienick
Try passing the -h switch to QBASIC on the shortcut properties. The -h switch makes the QBAISC window come up in "high resolution", more than likely why you deal with line counts greater than 24 in...
Forum: Legacy and Other Languages Jan 21st, 2007
Replies: 90
Views: 29,027
Posted By indienick
Don't be :cheesy:
Lisp is amazing. I program in it, now, almost exclusively.

Now, here's an example supplying you have a Lisp REPL (interpreter) - like CLISP - installed to /usr/local/bin:

...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC