Hi guys!
Too much time far away from programing with pascal, last months i was a bit close from php and magento.
Now, with a microsystem to dev, I forgot how to work with sets, set of strings
i have this code:
if not(UpperCase(AValue) in ['AC','AL','AP','AM','BA','CE','DF','ES','GO','MA','MT','MS','MG','PA','PB','PR','PE','PI','RJ','RN','RS','RO','RR','SC','SP','SE','TO']) then
(Brazillian states)
Since AValue is a string, fpc raises 'Error: Ordinal expression expected'.
FPC doesn't handle set of strings, only chars and other enumerated types?
Thanks !