TAB - thinBasic Adventure Builder
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeLatest imagesSearchRegisterLog in
Latest topics
» Happy New Year 2024!
capitalise taB! I_icon_minitimeSun Dec 31, 2023 4:04 pm by catventure

» TAB Version 71
capitalise taB! I_icon_minitimeMon Aug 21, 2023 12:17 pm by catventure

» TAB Version 70
capitalise taB! I_icon_minitimeSun Oct 02, 2022 1:49 pm by catventure

» TAB Version 70
capitalise taB! I_icon_minitimeFri Sep 30, 2022 10:23 pm by catventure

» TAB Version 70
capitalise taB! I_icon_minitimeMon May 23, 2022 4:08 pm by catventure

» TAB Version 70
capitalise taB! I_icon_minitimeSat Apr 30, 2022 11:15 am by catventure

» TAB Version 70
capitalise taB! I_icon_minitimeSat Apr 23, 2022 2:32 pm by catventure

» TAB Version 68 Update
capitalise taB! I_icon_minitimeTue Mar 15, 2022 4:18 pm by catventure

» TAB Version 68 Update
capitalise taB! I_icon_minitimeFri Mar 11, 2022 8:47 pm by catventure


Share | 
 

 capitalise taB!

View previous topic View next topic Go down 
AuthorMessage
MidKnight
Apprentice Adventurer
MidKnight

Male
Number of posts : 32
Age : 54
Location : Haworth Yorkshire
Humor : I am a Vulcan, I don't have emotions
Adventure Points : 0
Registration date : 2008-06-08

capitalise taB! Empty
PostSubject: capitalise taB!   capitalise taB! I_icon_minitimeFri Jul 11, 2008 7:53 pm

Hey Phil,
The following message tag %anyn1%
Can it be possible to force to capitalise the word contained in %anyn1%?

like %Anyn1%

Thanks,

MidKnight aka Jason
Back to top Go down
catventure
Admin Adventurer
catventure

Male
Number of posts : 404
Age : 71
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 77
Registration date : 2008-06-08

capitalise taB! Empty
PostSubject: Re: capitalise taB!   capitalise taB! I_icon_minitimeFri Jul 11, 2008 7:54 pm

Hi Jason,

Do you mean capitalise all the word or just first letter?

The following format tags exist:

%ucase% - capitalise first letter of following word in text
%lcase% - make first letter of following word lower case

but I've not tried to use them yet in conjunction with %anyn1%

eg: %ucase%%anyn1%

although it's supposed to work!

EDIT: I don't think above DOES work currently. So will work on that tomorrow.

I don't see why your idea cannot be also extended to have the whole word capitalised - KNIFE

Let me know. I'm sure can be done.

Bye Bye For Now!

Phil


Last edited by catventure on Sat Jul 12, 2008 5:20 pm; edited 1 time in total
Back to top Go down
https://adventure.forumotion.com
catventure
Admin Adventurer
catventure

Male
Number of posts : 404
Age : 71
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 77
Registration date : 2008-06-08

capitalise taB! Empty
PostSubject: Re: capitalise taB!   capitalise taB! I_icon_minitimeSat Jul 12, 2008 4:52 pm

Hi Jason.



I have the "uppercase" text format codes now working.



They will be:



%up% - turn uppercase on.

%/up% - turn uppercase off.



This because you may want more than one word printing in uppercase...



EXAMPLE:



You cannot %up%%vsyn%%/ up% the %up%%anyn1%% /up% %psyn% the %up%%n2syn%% /up%.



might produce:



"You cannot SQUEEZE the RED CAR with the STRING."



Works Good Smile

catventure

Topic Now Closed
Back to top Go down
https://adventure.forumotion.com
Sponsored content




capitalise taB! Empty
PostSubject: Re: capitalise taB!   capitalise taB! I_icon_minitime

Back to top Go down
 

capitalise taB!

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TAB - thinBasic Adventure Builder :: TAB FORUMS :: Suggest New Features-
Jump to: