Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6476

Re: STRUCTURE with two dimensional array

From "Jamal" <someone@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: STRUCTURE with two dimensional array
Date 2014-01-10 11:42 -0500
Organization Aioe.org NNTP Server
Message-ID <lap7tn$lc6$1@speranza.aioe.org> (permalink)
References <52ccfa58$0$9525$9b4e6d93@newsspool1.arcor-online.net>

Show all headers | View raw


Fred,

Your code is not complete. What is aQ in  REAL8(aQ[nI,nJ]) ?
Did you define properly?

I suggest you break your code further and debug.

Jamal

"Fred Killet"  wrote in message 
news:52ccfa58$0$9525$9b4e6d93@newsspool1.arcor-online.net...

Hello dear VO developers,

what do I wrong?

LOCAL stKartQ AS stKart
nMz := 20
stKartQ := MemAlloc(nMz * _sizeof(stKart))
FOR nI:=1 UPTO nMz
  FOR nJ:=1 UPTO 3
    stKartQ.a[nI,nJ] := REAL8(aQ[nI,nJ])
  NEXT nJ
NEXT nI

STRUCTURE stKart
  MEMBER DIM a[1,3] AS REAL8

When reaching stKartQ[2,1] the program stops and there comes up a Message
"Bound Error".
Thank you for your help!
Kind regards Fred
-- 


Fred Killet
killet-nospam@killetsoft.de


---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus 
Schutz ist aktiv.
http://www.avast.com 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

STRUCTURE with two dimensional array "Fred Killet" <killet-nospam@killetsoft.de> - 2014-01-08 08:12 +0100
  Re: STRUCTURE with two dimensional array "Jamal" <someone@example.com> - 2014-01-10 11:42 -0500
  Re: STRUCTURE with two dimensional array "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-01-12 22:18 +0100
    Re: STRUCTURE with two dimensional array "Fred Killet" <killet-nospam@killetsoft.de> - 2014-01-17 08:25 +0100

csiph-web