Support > Source

LCASE / UCASE Bug

(1/1)

Support:
AIR,

As mentioned in the e-mail I sent you, Peter said that these functions need a new mortal variable and the passed variable should be only used for reference only.


--- Code: Script BASIC ---a = "Account"b = LCASE(a)PRINT a, "\n"PRINT b, "\n" 

C:\sbqbo>sbc t_lcase.sb
account
account

C:\sbqbo>

Support:
AIR sent me a fix for LCASE which solved the problem. Keep an eye out in the sandbox for the fix to LCASE and UCASE in string.c.

Thanks AIR!

Navigation

[0] Message Index

Go to full version