Rob Hamerling wrote:
>
> FYI: following report sent to Kyle (attachment removed)
> After Joep has refactured the lcd_hd44780 libraries in Jallib I have
> been building some new sample programs. The lcd library has a pseudo
> variable 'lcd' and I wanted to send a string (character array) to the
> display, using this pseudo variable. I use a construct like this:
>
>> const byte LCD_CHARS = 16
>> var byte line[LCD_CHARS] = "0123456789ABCDEF"
>> for LCD_CHARS using i loop
>> lcd = line[i]
>> end loop
>
> Unfortunately the lcd displays 16 times '0': apparently the index is
> not taken into account. After some trials I found out it is the 'pragma
> inline' in the pseudo variable lcd'put (in lcd_hd44780_common.jal) which
> makes the difference. With the pragma the program 'forgets' the
> indexing, after removing the pragma the program works fine.
About an hour ago I received a message from Kyle that beta version
2.4j of the compiler source is available. I compiled it and the problem
with 'pragma inline' is gone (at least in this case). According to Kyle
also a couple of other bugs are fixed, and he expect to release 2.4j in
a couple of days.
Regards, Rob
--
Rob Hamerling, Vianen, NL (http://www.robh.nl/)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---