Re: 3 dimenional control array

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Jeff Johnson [MVP: VB] wrote:

<snip>

I was going to try to create an app to do Sudoku puzzles, and thought it would be easier if one dimension referred to the number of the squares in the boxes, one referred to the element in the rows, and one referred to the columns.


You'd really want a 2D array, I think. You'd then refer to the .Text property of the associated text box. I'm having difficulty seeing how a 3D array would help.


I wanted a 3 dimensional array, because I could use one dimesion to compare the numbers in the rows, one to compare the numbers in the columns, and one to compare the numbers in the smaller bozes (and of course look for one lone number in each of the boxes, which would be a solution).

BTW, my dentist is named Jeff Johnson here in Colorado Springs -- you aren't my dentist, are you? :)

Jim
.



Relevant Pages

  • Re: PHP - I give up.
    ... /* Compares A and B, given auxiliary data AUX, and returns a ... typedef int algo_predicate_func (const void *data, ... SIZE bytes each, using COMPARE for comparisons. ... first element in ARRAY that matches TARGET, ...
    (comp.programming)
  • Re: error 3048 - Cannot open any more databases
    ... recommendations and I declared my array as static and also loaded the array ... Yes the bound column of my combo boxes are not the display column. ... the same subform, just inserted 48 times. ...
    (microsoft.public.access.formscoding)
  • Re: working with byte arrays
    ... array before the values are assigned. ... Before I allways thought that ALL bytearray operations require a redim, ... >> If you know a better way to compare two byte arrays then please let me ... > Public Sub ShareMemoryViaArray(ByVal ArrayPtr As Long, ...
    (microsoft.public.vb.general.discussion)
  • Re: checkboxes not updating and how do I move to next record?
    ... What I'm trying to do is compare the name fields of two tables. ... check off both boxes. ... I need the onEPLSDb checkbox checked off and the ... Dim RecordScrubbed As Boolean ...
    (microsoft.public.access.formscoding)
  • Re: How do I use a parameter/variable/string literal as an identifier?
    ... Not an actual grid, just a bunch of text boxes ... corresponding member of a boolean array (there is one array for each ... but I would rather learn a new language ...
    (comp.lang.pascal.delphi.misc)