IonicWind Software

IWBasic => General Questions => Topic started by: Rock Ridge Farm (Larry) on May 05, 2008, 02:55:26 PM

Title: Help needed
Post by: Rock Ridge Farm (Larry) on May 05, 2008, 02:55:26 PM
I am doing the following
   p1=NEW(STRING,4)

   #<STRING>p1[1,0] = "One"
   #<STRING>p1[2,0] = "Two"
   #<STRING>p1[3,0] = "Three"

   conLVColumnListSet(win,500,#<STRING>p1,50,1)

As you may guess it does not work

I am trying to display headers in a window.
What am I doing wrong?

Title: Re: Help needed
Post by: GWS on May 05, 2008, 03:08:04 PM
Hi Larry ..

Does this help (sorry it's from CBasic) but I don't think that matters ..  :)

openconsole

autodefine="OFF"
cls

def p1 as pointer

p1 = new(string,4)
#p1[0] = "one"
#p1[1] = "two"

print #p1[0]
print #p1[1]

do:until inkey$<>""
closeconsole
end


best wishes, :)

Graham
Title: Re: Help needed
Post by: Rock Ridge Farm (Larry) on May 05, 2008, 04:41:41 PM
I found my error - thanks for looking.
Looked for about 4 hrs before I posted then within 15 min I had found it. Duh.