Results 1 to 4 of 4

Thread: EXTRACT$

  1. #1

    EXTRACT$

    s = EXTRACT$([Start,] MainString, [ANY] MatchString [, CaseSensitive])

    Hi Eros,

    Something changed with EXTRACT$ and its affecting my parser in TAB...

    verb(5)="/look/desc/r/"

    Player types "look"

    gverb = EXTRACT$( 2, verb( 5 ), "/" )

    gverb should contain string "look" but it contains "/look" and is printed in TAB Player richedit as "/look"

    Has syntax changed in latest preview or is something wrong?

    Thanks,
    catventure
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: EXTRACT$

    I'm checking ...
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: EXTRACT$

    Sorry catventure.
    I completely missed the starting position parameter.

    Please find attached a fixed thinCore.dll to be used only with thinBasic preview version 1.7.0.0

    Excuse me.
    Eros
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  4. #4

    Re: EXTRACT$

    Quote Originally Posted by Eros Olmi
    Please find attached a fixed thinCore.dll to be used only with thinBasic preview version 1.7.0.0
    Thanks for speedy fix. Now works good.

    catventure.
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

Similar Threads

  1. 2 Typos EXTRACT$
    By Michael Clease in forum Fixed or cleared errors in help material
    Replies: 1
    Last Post: 04-11-2007, 09:40

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •