External subroutines

From: Alan None <alan_x2cvb_at_yahoo.com>
Date: Mon, 2 May 2005 20:53:47 -0700 (PDT)
To: prima_at_prima.eu.org

Hi

I just discovered Prima and am having great fun with
it. Since I know little OOP, I began playing with the
sample Image Viewer app in the VB and in short order
added "zoom in/out" buttons and a "save file" option.
Also got the InputLine to send any changes to a Label
widget I added to the Form.

But now I'm stuck: In a new application, I want to
store changes to one or more InputLines in some data
structures (array or hash) . At some point, I would do
some operations on this and then save the results to a
file, manipulate them in some way, or pass them to
another widget. But I can't get it to work with even
one InputLine and a simple array @textlines.

If I define the array anywhere but in the event
('InputLine1' =>OnKeyUp) where I push data into it, I
get a "Can't call method "execute" on an undefined
value" when I run the app. If I define the array in
the event where I add the data, no error but it only
stores that one piece of data.

Any suggestions would be appreciated.

Thanks.

 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Tue 03 May 2005 - 05:53:59 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:05 CET