[Gambas-user] Application_Read

Demosthenes Koptsis demosthenesk at ...626...
Fri Jul 22 16:10:43 CEST 2011


On Fri, 2011-07-22 at 12:29 +0200, tobias wrote:
> hi,
> 
> > 1) ok, it is called again and again and prints to stdout "ok".
> >
> > how i put the "test" word of Application_Read method in a variable, and
> > stop the continuous calling? In other words how do i read the value?
> >
> this is pretty simple:
> 
> Public Sub Application_Read()
> 
>    Dim sBuf As String
> 
>    Read #Last, sBuf, Lof(Last)
> 

here i get again error for Read #Last
"Dynamic symbols cannot be used in static function"

is this a bug?



> End
> 
> > 2) if i use PUBLIC SUB SetTextArea it is also a Dynamic Symbol and it
> > complains.
> >
> > Thanks, it may be easy but here i am stucked :(
> for this, i'm stuck, too (if you declare SetTextArea as static, you 
> can't use the textarea object in it)...
> 
> regards,
> tobi
> 
> 
> ------------------------------------------------------------------------------
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 
Regards,
Demosthenes Koptsis.





More information about the User mailing list