gbs3 -e -p '{long[]}a=[1,1]:for {i}ii = 0 to
50:{l}i=a[0]+a[1]:a[0]=a[1]:a[1]=i:print i:next'

hermetics

2015-12-12 9:00 GMT+01:00 Fabien Bodard <gambas...@gmail.com>:
> 2015-12-12 8:26 GMT+01:00 Tobias Boege <tabo...@gmail.com>:
>> On Fri, 11 Dec 2015, Moviga Technologies wrote:
>>> >
>>> > Things are PRIVATE by default, but it was not necessarily a good idea
>>> > to
>>> > allow that.
>>> >
>>> > Maybe I should remove that, but it's not backward-compatible, so many
>>> > programs will not compile anymore.
>>> >
>>> > Regards,
>>>
>>> Thank you!
>>> You could save it for 4.0. Then you are allowed to make more
>>> backward-incompatible changes :)
>>>
>>
>> While we are speaking of new features for the class header: I regularly want
>> to declare multiple variables in a Private or Public statement like I can
>> with Dim. And sometimes it would save some typing to have a syntax like
>>
>>   Property Read Text As String To $sText
>>
>> to declare a property which should have the same effect as
>>
>>   Property Text As String
>>   Private $sText As String
>>
>>   Private Function Text_Read() As String
>>     Return $sText
>>   End
>>
>> But none of these are urgent. Just wanted to record them :-)
>>
>> Regards,
>> Tobi
>
> I like it :-)
>
> And maybe it can automate the management in case of
> Property Read and remove the need to wrote the _Read function when it
> have just to return the value content.
>
>
>> --
>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard



-- 
Fabien Bodard

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to