TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeFAQSearchUsergroupsRegisterLog in
Latest topics
» TAB Version 66 Available
Mon Sep 26, 2016 12:02 pm by catventure

» TAB Version 65 Available
Mon Feb 23, 2015 12:04 pm by catventure

» Incubation pt 1
Wed Apr 24, 2013 9:24 am by Kabrinski

» Charecter movements - doors
Wed Mar 20, 2013 2:55 pm by garethfx

» Member feedback on game planning
Sun Mar 03, 2013 1:47 pm by garethfx

» Still alive - just!
Thu Feb 28, 2013 11:34 am by catventure

» TAB 64 crashes ...
Mon Aug 20, 2012 11:31 am by acko

» Idea on addition to object being container
Sat Aug 18, 2012 3:49 pm by catventure

» sizex=y action ...
Thu Aug 09, 2012 11:29 am by catventure


Share | 
 

 TAB Alpha Version 38 Available

View previous topic View next topic Go down 
AuthorMessage
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: TAB Alpha Version 38 Available   Fri Jul 18, 2008 6:18 pm

Hi,

18 Jul 2008 ( Release 38 )
=========
*NEW. "#else#" ACTION command implemented. An extension to TAB coding.

EXAMPLE:
[start]words conditions#condition#condition[acts]action#action#else#condition#condition[acts]action# action#else#condition#condition[acts]action#action#else#[acts]action[end]

Therefore you can have multiple conditions and actions in respect of the SAME starting "words conditions". .. Think about it; it could save writing several individual entries to build up a particular game puzzle and also cuts down on typing too!
Think of action "#else#" as meaning ELSE IF. The last use of action "#else#" in this example shows how to do an ELSE DO type of statement.
In other words if NONE of the previous Response entry conditions and actions were executed then this default action in respect of the valid command will ALWAYS be done. Notice there are no conditions before the [acts] tag for this "catch-all" usage of "#else#"

Example SCRIPT 1 or 2 usage format:

[start]condition[acts]action#else#condition#condition[acts]action#else#condition[acts]action[end]

There are no "words conditions" in these coding editors but you could use #else# as above
to truncate several entries into a single entry to save space...
You can still use the or-checking syntax ( "or_" prefix on conditions) in this new extension to TAB coding as well.

[start]words condition#or_ condition#or_condition[acts]action#else#or_condition#or_condition[acts]action#else#[acts]action[end]

*ADDED. New parser variable CONDITIONS that were missing or forgotten:
charn1=charn2 - is parser variable charn1 the same number as parser variable charn2?
charn2=charn1
charn1<>charn2 - is parser variable charn1 not the same as parser variable charn2?
charn2<>charn1

*ADDED. When entering CONTAINER objects in the Object Editor, TAB now warns user that the corresponding location number will be used as its contents holder. If accepted that Location will be flagged as "Inside of Object X." and will not be editable in the Locations Editor.


catventure.

_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.


Last edited by catventure on Sun Aug 03, 2008 1:23 pm; edited 1 time in total
Back to top Go down
View user profile http://adventure.rpgdynasty.com
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Re: TAB Alpha Version 38 Available   Sun Jul 20, 2008 12:42 am

20 Jul 2008 (Release 38.1)
=========
FIX. "#else#" not functioning correctly. Amended

FIX. Condition "objlocn2=absent" was missing due to duplication of "objlocn2=here"


Regards,
catventure.

_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.com
 

TAB Alpha Version 38 Available

View previous topic View next topic Back to top 

 Similar topics

+
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TAB - thinBasic Adventure Builder :: TAB FORUMS :: Announcements and Special Messages-
Jump to: