09-11-2022, 06:38 PM
(09-11-2022, 04:39 PM)Pete Wrote: Anyway, I hardly ever work with functions, mostly all subs, so...This is actually one my top feature requests that might never be answered...
Is there anyway to make:
PRINT sm$("24/6")
into...
PRINT sm("24/6") [no $ sign]
DIM sm AS STRING fails because the name is already in use for the function.
The problem is that it could make QB64 like Freebasic -- might not allow sigils any longer anywhere, for the sake of defining:
FUNCTION sm(a as string) as string
instead of
FUNCTION sm$(a$)
If the QB64 programmers (or contributor!) are slick enough, could make an exception just for user's string functions, as was already done for a short time with one of the QB64-only functions for Internet.
https://qb64phoenix.com/qb64wiki/index.p...IONADDRESS