October 30, 2025, 01:02:02 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Help needed

Started by Rock Ridge Farm (Larry), May 05, 2008, 02:55:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rock Ridge Farm (Larry)

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?


GWS

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
Tomorrow may be too late ..

Rock Ridge Farm (Larry)

I found my error - thanks for looking.
Looked for about 4 hrs before I posted then within 15 min I had found it. Duh.