Looks like parser simply does not allow [u]long. Don't think there is any issue adding, fbc maps the parameter types by size. fbc can resolve [u]integer, [u]long, [u]longint, overloads, so should select the appropriate sub if overloaded.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All other pre-defined types seem to be well supported.
Discussion:
https://www.freebasic.net/forum/viewtopic.php?t=26595
Looks like parser simply does not allow [u]long. Don't think there is any issue adding, fbc maps the parameter types by size. fbc can resolve [u]integer, [u]long, [u]longint, overloads, so should select the appropriate sub if overloaded.
Proposed fix at https://github.com/freebasic/fbc/pull/81
Fixed @
https://github.com/freebasic/fbc/commit/745f7fcaeda7b6d990f67b00c53d4980a5c95cb4