Re: Array's

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Cor (non_at_non.com)
Date: 02/01/04


Date: Sun, 1 Feb 2004 16:31:29 +0100

Hi Varun,

Are you using VS.net or VB.net with an IDE?

If not add this instruction and look what is the result when you start.
(But look further I have also something else that is strange)

Before this line
messagebox.show(CarArray.count.tostring & "+" &
NoOfCarSalesArray.count.tostring)
> Dim max As Integer = CarArray.Count - 1

> Dim i As Integer
> For i = 0 To max
> CarDTRow = ds.Tables("CarDT").NewRow()
> CarDTRow ("CarReg") = txtCarReg.Text
> CarDTRow ("CarMake") = CarArray(i)
> CarDTRow("NoOfCarSales") = NoOfCarSalesArray(i)
> ds.Tables("CarDT").Rows.Add(CarDTRow)
> Next Index
Make from this

Next

There is not integer Index in the loop it is i but that is automaticly taken
in this case.

Cor



Relevant Pages

  • Re: programming language
    ... you will find the source code to my bf interpreter. ... instruction_pointer is the index of the instruction currently being executed in the instruction array. ... execute() is where the action happens. ... executegets a pointer to a bf_vm, where it executes one instruction, increments the instruction pointer of the bf_vm so that it points to the next instruction (or does a loop), and returns. ...
    (comp.programming)
  • Re: How much does it take to execute MMX instruction?
    ... a unrolled loop with lots of nop's in the ... This way we have accurate enough instruction timings. ... Pentium M, in general, has latency one clock cycle less, than Pentium ...
    (comp.lang.asm.x86)
  • Re: IAR MSP430 compiler problem
    ... Does anybody knows how to force compiler to use call instruction ... to next instruction after Spin function..... ... But it doesn't actually co-operate - an eternal loop is not co-operative, even if it you cheat and break out using interrupts. ... Interrupts are inherently asynchronous - if the thread can be suspended by an interrupt function, ...
    (comp.arch.embedded)
  • Re: About dispatching process
    ... (Of course somewhere within the instruction sequence, it would have to check for hierarchy.) ... Subject: About dispatching process ... A disabled loop by itsself will not generate a problem. ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)
  • Re: Is a RISC chip more expensive?
    ... the instruction grouping rules on the 21164 were complicated. ... and these are only as good as the compiler writer... ... What makes you think there even was a scheduler? ... of the scalar b outside the loop that modified the vector a. ...
    (comp.arch)