Search found 68 matches
- Tue Feb 24, 2015 9:07 pm
- Forum: Other topics
- Topic: Card shuffle code
- Replies: 2
- Views: 2081
Re: Card shuffle code
Here is how to go about it. Make an array with 52 elements (0 to 51 or 1 to 52). It can be strings or the numbers from 1 to 52. Adjust the range as needed. Then write DIM cards(52) ; or Cards$(52) or 51 if you start at 0 Fill the array with data statements for card such as HA, H2, ..., SA, S2, (suit...
- Fri Jan 30, 2015 9:51 pm
- Forum: BASIC SDK for Xcode
- Topic: CPU 4917
- Replies: 5
- Views: 8233
Re: CPU 4917
Looks really nice. I made a simulator, not nearly as sophisticated interface, for a SAP (Simple as possible) computer that ran on a commodore pet back in the '80s. Used it in a Jr. College class. Lots of fun.
Dale
Dale
- Thu Dec 11, 2014 9:29 pm
- Forum: BASIC programs
- Topic: IMP calculator for bridge card game
- Replies: 8
- Views: 4472
Re: IMP calculator for bridge card game
You can easily make multilingual program, which uses English by default and Dutch if it is detected. Use SYSTEM_LANGUAGE$() function to get device language. App Store version of program does not allow access to program code. I see. I'll modify the program and upload it again. Can postings be delete...
- Thu Nov 06, 2014 6:47 pm
- Forum: Other topics
- Topic: rnd() question
- Replies: 5
- Views: 2673
Re: rnd() question
Do not use the INT function in you code. It does not do what you think. You need to use FLOOR
Dale
Dale
- Fri Oct 03, 2014 11:00 pm
- Forum: Lessons on Programming
- Topic: Smart BASIC Programming. Lesson 1
- Replies: 2
- Views: 10335
Re: Smart BASIC Programming. Lesson 1
Looks like a good start but it fails to define some of the symbols used in the examples and others that are needed to solve the exercise. For example & is not defined before it used or even after. the Divide symbol is not defined. * is used by not defined. comments should be defined early.
Dale
Dale
- Fri Sep 26, 2014 8:32 pm
- Forum: BASIC programs
- Topic: Turtle graphics
- Replies: 21
- Views: 11814
Re: Turtle graphics
Nice, thanks.
Dale
Dale
- Wed Mar 05, 2014 6:32 pm
- Forum: Other topics
- Topic: Mr. Kibernetik
- Replies: 1
- Views: 1557
Mr. Kibernetik
Hi, haven't seen any posts for more than a week. Are you ok? There seems to be some unrest in your part of the world so I hope you are fine.
Dale
Dale
- Wed Jan 15, 2014 6:02 pm
- Forum: PDF manual (by Dutchman)
- Topic: PDF manual version 3.3
- Replies: 26
- Views: 17446
Re: PDF manual version 3.3
OS X is a direct descendant of Unix, and its file system is not case sensitive. Actually it is. If you use the Unix commands that are inside OS X you will find that the disk is actually storing the data case sensitive but the user interface masks this so it looks like it is not case sensitive. This...
- Tue Jan 14, 2014 6:31 pm
- Forum: PDF manual (by Dutchman)
- Topic: PDF manual version 3.3
- Replies: 26
- Views: 17446
Re: PDF manual version 3.3
Actually Unix is the owner of the problem. It started the case sensitivity thing soon after lower case was added to the ASCII set. By late 1969 the damage was doneDutchman wrote:I think that Apple is the owner of the problem
Dale
- Tue Dec 24, 2013 5:39 pm
- Forum: BASIC programs
- Topic: France added to MercatorWorld
- Replies: 40
- Views: 22101
Re: MercatorWorld
Thanks for your remarks and merry christmas. Have you identical greetings in Russia? Merry Christmas for you too! Our big national holiday is New Year, it is celebrated at night January 1st, and continues with 8 days of national holidays. Actually Christmas in Russia is on the 7th of January due to...