Very fast NEW division routine with string math...
#4
Lightbulb 
(09-11-2022, 04:39 PM)Pete Wrote: Anyway, I hardly ever work with functions, mostly all subs, so...

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.
This is actually one my top feature requests that might never be answered...

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
Reply


Messages In This Thread
RE: Very fast NEW division routine with string math... - by mnrvovrfc - 09-11-2022, 06:38 PM



Users browsing this thread: 5 Guest(s)