Where are the String Functions?


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156

    Default Where are the String Functions?

    This is such a good compiler, I can't help but wonder WHY it doesn't support Strings?! There are a lot of applications that would be so much easier to build if you didn't have to 'roll your own' string handling routines!!

    This last project I'm working on is making me take a serious look at Swordfish, but after spending years and years with PBP, I just wish melabs would give us a break, and make some effort at strings.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    PBP does support strings. Have you looked at the STR modifiers for LCDOUT, SERIN2,
    SEROUT2, DEBUG, DEBUGIN, OWIN, OWOUT, etc? That's definitely string support...;o}

    What exactly do you need string support for that it doesn't have? Just loading values
    into an array?

    P.S. Swordfish is an excellent compiler if you only need to work with 18F series, but it's
    a far cry from being as simple to use as PBP.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Jun 2009
    Posts
    9


    Did you find this post helpful? Yes | No

    Default

    I think Proton basic has strings

    Its much like Pbpro

  4. #4
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156


    Did you find this post helpful? Yes | No

    Default

    In their own manual, melabs says that PBP does not support strings, and everybody here pretty much knows that. I'm just wishing/crying out loud that I didn't have to go learn another compiler all over! To the extent that pbp 'HANDLES' strings, I think it's more along the lines of supporting LCD's, and a serial port than strings themselves.

    And, no, it's not just loading arrays, because what's loaded, needs to be UNloaded, and parsed, and trimmed, and concatenated, and compared, etc. etc. I must have looked at 7 or 8 different PIC basic compilers in the last several weeks, and then you get even more steamed up... IF THEY CAN DO IT, WHY CAN'T MELABS? Too hard? I love PBP, but on some jobs, it would just be much easier if there weren't all these ridiculous little for-next loops to do simple compares, TrimLeft, TrimRight, UpperCase, etc.

    I'm just expressing a wish that we'd get some of these functions, but not really expecting it. I know that you can do in one command in pbp what takes 7 or 8 lines in other compilers... oh well. I'm all done bawling about it now - till next time.

Similar Threads

  1. How about String Variables?
    By mytekcontrols in forum PBP Wish List
    Replies: 40
    Last Post: - 20th January 2015, 12:53
  2. A real String type & functions to match
    By Phil Moore in forum PBP Wish List
    Replies: 3
    Last Post: - 25th December 2008, 16:45
  3. How to convert HEX Value as formatted BIN String ?
    By Robson in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 19th August 2007, 02:16
  4. Visual Basic 6 & Access 2000
    By Demon in forum Off Topic
    Replies: 33
    Last Post: - 7th September 2006, 04:39
  5. Message String Table using Readcode
    By mytekcontrols in forum Code Examples
    Replies: 2
    Last Post: - 10th July 2005, 23:17

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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