Saving datas with RapaGUI

Find quick help here to get you started with Hollywood

Re: Saving datas with RapaGUI

Postby airsoftsoftwair » Thu May 11, 2017 5:57 pm

Something like this: (untested)

Code: Select all
OpenFile(1, projectname$)
While Not Eof(1)
    Local t$ = ReadLine(1)
    Local t = SplitStr(t$, ",")
    moai.DoMethod("lv", "insert", "bottom", t[0], t[1], t[2], t[3])
Wend
CloseFile(1)
User avatar
airsoftsoftwair
 
Posts: 2233
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany

Re: Saving datas with RapaGUI

Postby Pierre55 » Fri May 12, 2017 1:49 pm

Hi,

I had again "unexpected symbol" at some lines and just found that when I COPY and PASTE from the browser there are some snon-breaking spaces (ASCII 160).

Now there is an error on the line:

moai.DoMethod("lv", "insert", "bottom", t[0], t[1], t[2], t[3])

String expected in argument 8!

Thanks.
Pierre55
 
Posts: 17
Joined: Sat Apr 01, 2017 4:25 pm

Re: Saving datas with RapaGUI

Postby Pierre55 » Sat May 13, 2017 2:27 am

I found the problem with the line.. a T[4] was missing!

Thanks again.
Pierre55
 
Posts: 17
Joined: Sat Apr 01, 2017 4:25 pm

Previous

Return to Newbie questions

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron