Uppercase in usecode with '^' (Caret)

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
lazar0

Uppercase in usecode with '^' (Caret)

Post by lazar0 »

Ok, after embedding some pictures in my last post, I want to comment the issue in the subject.

In usecode, I've seen that the Caret char '^' helps U7 to make UpperCase the FIRST letter of the Word that it precedes.

So, if we have this titles names (all lowercase):

milady
milord

and a sentence like this:

"^" + titlename + ", how are you today?". We will see in screen this:

'Milord, how are you today?'

Is this implemented in Exult? It has not effect like in DOS version as far as I seen.

David.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Uppercase in usecode with '^' (Caret)

Post by Dominus »

I think something like that is there. In both SI Fixes and BG Keyring a ^is used once and it might be for that.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
lazar0

Re: Uppercase in usecode with '^' (Caret)

Post by lazar0 »

But Exult does not uses it, right?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Uppercase in usecode with '^' (Caret)

Post by Dominus »

Honestly I don't know. I'll have to bug Marzo
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
lazar0

Re: Uppercase in usecode with '^' (Caret)

Post by lazar0 »

Ok. If you want I could open a ticket in bugtracker.

As I've seen in DOS version, although Caret '^' is in middle of the sentence, it uppercases the first letter always. If it is in uppercase, it maintains the letter in uppercase.

You can check it with Petre, at the beginning, he uses ^ in:

===
Petre bows before you. "^
."
===
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Uppercase in usecode with '^' (Caret)

Post by Dominus »

Hmm, yes please open a ticket. Makes it a tad easier to point Marzo at...
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Uppercase in usecode with '^' (Caret)

Post by Dominus »

Thanks for bringing that to our attention. Never realized before that it shows being wrong right in the first scene of BG :)
(Peter will say Milady, Milord after you confirm being the avatar)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
lazar0

Re: Uppercase in usecode with '^' (Caret)

Post by lazar0 »

Hi Dominus,

yes, now it Works well. Thanks to Marzo it is working as in DOS versión.

I only tested Peter sentence, but I can assure you that there are a bunch of "Carets". :)

I will let you know if I see something odd in this behaviour when I revise the texts.

Thanks again (this time to Marzo) for solving the issue.

David.
Locked