Post Reply 
APP spreadsheet insert values [Solved]
12-14-2015, 12:37 PM (This post was last modified: 12-14-2015 01:02 PM by jrozsas.)
Post: #16
RE: APP spreadsheet insert values
(12-14-2015 11:51 AM)toshk Wrote:  i have a list say L1={1,2,3,4} which can vary in size depending on the question.
i want to output this "variable list" into a spreadsheet column A. and possibly from an external app.

//this code crashes prime..............
for a:= 1 to length(L1) do
Cell(1,a):= L1(a);
end;
//...........................................
Sintaxe: FOR var FROM início TO fim DO comandos END;
START()
BEGIN
local a;
for a:=1 to length(L1) DO
Cell(a,1):=L1(a);
END;
END;
[Image: O8IYsYc.png]
[Image: NwhtuWx.png]


Attached File(s)
.zip  sscpy.hpappdir.zip (Size: 1.1 KB / Downloads: 7)

Leo

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: APP spreadsheet insert values - toshk - 12-14-2015, 11:51 AM
RE: APP spreadsheet insert values - jrozsas - 12-14-2015 12:37 PM
RE: APP spreadsheet insert values - toshk - 12-14-2015, 11:27 PM



User(s) browsing this thread: 1 Guest(s)