I want to do something like in PHP, Python and most other programming languages:
my_array_name = [128, 38459, 438, 23674...]
So I tried to replicate this in Delphi/Pascal the best I could:
HSVtoRGB := [0, 0, 0];
(this is for a function which returns an RGB array given HSV values.)
But I am getting errors:
[DCC Error] Unit2.pas(44): E2001 Ordinal type required
[DCC Error] Unit2.pas(45): E2010 Incompatible types: 'HSVRealArray' and 'Set'
Any idea? This is school work - but my teacher didn't know the answer.