Search:
Type: Posts; User: freeflow
Search:
Search took 0.01 seconds.
-
Hi fafalone
That wouldn't appear to be the case. Take the case of a 2D array. For both VBA and C the first dimension specifies the number of rows and the second dimension specifies the number of...
-
Does anyone know the technical reason for why the indeces in the SafeArrayPutElement and SafeArrayGetElement methods have to be specified in the reverse order to the corresponding Dim statement.
-
Olaf, many thanks for taking the time to look at this. First my apologies, I edited my code and forgot to post the final version hence the mixup with Variant().
I can confirm that implementing...
-
OKk here you go. The code below respect that Items and Keys return an Array of Variants rather than a variant containing an array.
Public Sub TestcHashDItems()
Debug.Print "Retrieving...
-
Please excuse if its me being stupid, but when I use the above object to store arrays, collections or other cHashDs then I get an error with the Keys and Items method.
The statement which...
-
Just curious and for a bit of teasing
By my reckoning that means intColor is b. But preferably I'd want a compilation error for trying to Or a Byte and an Integer (which in VBA is 16 bits if...
-
You don't ever want to be like c++. BY all means have the same high level functionality as c++ but don't evolve the way c evolved to c++, to get not be trapped by being afraid to move on from syntax...
-
The following makes interesting reading
https://codedocs.org/what-is/b-programming-language
extract
-
If you are working with pointer arithmetic then its more likely that += exists to be able to iterate the first dimension of a 2D array more easily e.g. if your linear allocation of memory represents...
-
We are not arguing about pointer arithmetic but about why += and ++ exist in the first place. Its about recognising patterns in code. 'For each' may not have been in the scope of the implementors...
-
The reason for my observation is that in the C programming language ++ and += add/increment based on type of the target variable. Thus if myVar is an int of 4 then myVar+=1 increments myVar to 5,...
-
I've noted some heated discussion on this thread about syntax tuples, += etc and I'd like to make some observations
Lets take +=.
Lets take a step back to c (as this has been cited in...
-
Nearly two weeks without a visible update. Something good must be hatching.
|
Click Here to Expand Forum to Full Width
|