EivindB
(Eivind Bakkestuen)
2 April 2024 02:03
1
Hi All,
The monthly Brisbane meeting is on Thursday 4th April.
NOTE Change in Location:
On this day, we will meet at Golgappa Indian street food restaurant, located across Logan rd from Westfield Garden City:
Google Maps
Golgappa homepage
Feel free to suggest or bring topics for review.
Reminder: As the standard blurb below says; please DO make sure you RSVP if
you intend to come.
No RSVPs, no meeting; be proactive!
Regards,
Eivind Bakkestuen
Delphic
(Mark)
5 April 2024 04:37
2
About that limitation in Delphi that I mentioned, where you can’t do a static initialization from an element of a const array with a const index, I had posted about it on delphipraxis.
Delphi should let me use a const array…
Delphic
(Mark)
5 April 2024 04:39
3
Isn’t it great for old men to sit around and whine about what could have been?
1 Like
Mark1
(Mark van der Eynden)
5 April 2024 05:10
4
I’m a bit late to this party, but isn’t this what this is? (sorry for the cryptic names, it’s just a copy and paste)
const
ons = 6 ;
Type
rton = record
name : string ;
otype : integer ;
end;
aton = array[1..ons] of rton ;
Const
ons : aton = ( (name:'OnCreate'; otype:1),
(name:'OnRepeat'; otype:1),
(name:'OnTouchMoving'; otype:2),
(name:'OnTouchPressed'; otype:2),
(name:'OnTouchReleased'; otype:3),
(name:'OnTimer'; otype:1) ) ;
EivindB
(Eivind Bakkestuen)
5 April 2024 05:38
5
@Delphic oh sure, there was lots of whining…
1 Like
Delphic
(Mark)
8 April 2024 03:09
6
Hi, namesake.
The line that does not compile from my example is this one:
It can work in theory: the values can be calculated at compile time. But the compiler doesn’t work with anything other than literals or constants.