Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Forum Registration Disabled
User Guide
Developers Guide
Home
Help
Search
Login
Register
ScriptBasic
»
Support
»
Source
»
LCASE / UCASE Bug
« previous
next »
Print
Pages: [
1
]
Author
Topic: LCASE / UCASE Bug (Read 5064 times)
Support
Administrator
Posts: 20
LCASE / UCASE Bug
«
on:
October 01, 2022, 10:37:32 AM »
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>
Logged
Support
Administrator
Posts: 20
Re: LCASE / UCASE Bug
«
Reply #1 on:
October 01, 2022, 12:26:41 PM »
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!
Logged
Print
Pages: [
1
]
« previous
next »
ScriptBasic
»
Support
»
Source
»
LCASE / UCASE Bug