Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBC] By Comparison

Author
Message
gearce
17
Years of Service
User Offline
Joined: 18th Dec 2006
Location: ex SCOTLAND, now MELBOURNE, Australia
Posted: 30th Jun 2007 11:37 Edited at: 30th Jun 2007 11:49
Hi there!

The two pieces of code in the programme produce exactly the same result, both draw 28 boxes on the screen, but which is easier to understand?

The comparison is by way of the method used to determine the position of the boxes.

Code 1 is the way I originally wrote the piece, and Code 2 was written after studying TDK's Alternative Way To Deal A Pack Of Cards.



If you wish to keep the programme, first create a folder on your computer (e.g. By Comparison). Next, highlight the text, right click, copy and paste into DB Classic and save in the folder.

gearce
(GRC)

LANG MEY YER LUM REEK
gearce
17
Years of Service
User Offline
Joined: 18th Dec 2006
Location: ex SCOTLAND, now MELBOURNE, Australia
Posted: 30th Jun 2007 11:41 Edited at: 30th Jun 2007 11:49
Sorry! Deleted the text. Would have been a double post.

gearce
(GRC)

LANG MEY YER LUM REEK

Login to post a reply

Server time is: 2024-11-22 18:49:11
Your offset time is: 2024-11-22 18:49:11