Page 1 of 1

StringExtension

Posted: Sun Dec 11, 2011 1:21 am
by zorgat
I'm new, just installed PB 4.6 and cannot locate StringExtension

I also installed jaPBe and ALL the PureLibraries and still no StringExtension

How, and where do I find the elusive StringExtension

TIA

Zorgat

Re: StringExtension

Posted: Sun Dec 11, 2011 1:27 am
by jassing
Are you getting a compile time error about it being missing?
If so, it's a pesky error that translates to: One or more of your userlibs is not compatible.

Re: StringExtension

Posted: Sun Dec 11, 2011 2:37 am
by IdeasVacuum
Welcome to PB zorgat.

Not sure what 'StringExtension' actually is. Is this a message you are getting during compile/run or is it a function that you know of in a different language? Tell us in more detail so that we can help you.

Re: StringExtension

Posted: Sun Dec 11, 2011 2:41 am
by netmaestro
and ALL the PureLibraries
Where did you get these PureLibraries? Why did you install them? Purebasic doesn't need them, I'd take them back out if I were you until you understand which of them is:

a) Something you need
b) Regularly maintained and updated to work with PB 4.60. Not all of them are as you found out the hard way.

Purebasic without any userlibs is lots of programming tool, believe me.

Re: StringExtension

Posted: Sun Dec 11, 2011 5:35 am
by IdeasVacuum
Ah, you probably mean you have installed Gonzal's libraries. Just make sure that they are up to date. Also note, if you are only running the trial version of PB, that could be an issue. Also make sure that the compiler options are as directed by Gonzal. For example, if you have selected 'Create Unicode executable', then in the Library Subsystem field insert 'Userlib Unicode', which ensures that the Unicode version of the lib is used. If you use jaPBe it automatically knows which lib version to use.

See this related post:http://www.purebasic.fr/english/viewtopic.php?t=36556

Re: StringExtension

Posted: Sun Dec 11, 2011 5:37 am
by USCode
Welcome Zorgat.

Not exactly sure what you're looking for but here's a link to the PB String Library:
http://www.purebasic.com/documentation/ ... index.html
Maybe you'll find what you're looking for there.

Re: StringExtension

Posted: Sun Dec 11, 2011 8:38 am
by zorgat
Thank you all for your replies:

IdeasVacuum is on the right track...it appears to be a Gnozal PureLibrary problem.

For the record:

I have the fully paid up version of PB since early 4.x and just installed 4.6.

PureBasic 4.60 (Windows - x86)
Feel the ..Pure.. Power

IDE build on 11/06/2011 [22:17] by Fred
Branch: v4.60 Revision: 1309

I am running XP SP3

Although I am just beginning to explore PB I have a fairly long programming history starting with Z80 assembler in 1980, MASM, Basic, VB, Clarion, PowerBasic.

Now I want to get to grips with PB. I like what I see, and admire all the hard work that has been put into creating PureBasic. All in assembler to boot.

I discovered jaPBe and the Gnozal PureLibraries so they were downloaded and installed. I also found some interesting things in the PureArea website.

During my initial "playing" I tried out the following:

Dictionary Demo.pb

;/
;/ Spell Check Test - Dictionary_Lib example
;/ This shows how to use the 4 functions in Dictionary_Lib
;/ by Paul Leischow
;/

#DLL=0
#Edit=1
#Check=2

If OpenWindow(0,0,0,350,250, "Spell Check Test",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
If CreateGadgetList(WindowID(0))
EditorGadget(#Edit,0,0,350,200)
SendMessage_(GadgetID(#Edit),#EM_SETTARGETDEVICE, #Null, 0)
ButtonGadget(#Check,130,210,80,30,"Spell Check")


Dictionary_Add("purebasic","MyDictionary.dic") ;add custom word to Dictionary
Dictionary_Load("MyDictionary.dic") ;load custom Dictionary


When I compiled I got this compiler error message: The following PureLibrary is missing: StringExtension

I had already searched this forum for StringExtension and followed the advice of downloading the latest Gnozal Libraries. Installed those and still the same error. So I posted my message and decided to put it on the back burner.

I think my time will be better spent connecting all the dots and learning how to use PB.

I'm sure that in time I will find the PureLibrary StringExtension. I not going to loose any sleep over it.

Again I want to thank all of you for your prompt replies.

Happy Coding!

Zorg.

Re: StringExtension

Posted: Sun Dec 11, 2011 11:42 am
by c4s
You can't install "StringExtension"! It simply means that one of the userlibraries you've installed are not compatible with 4.60 as others have stated before.
I would reinstall PureBasic and only install those libraries you can't live without. When you are just starting out with PureBasic you normally don't need any userlibrary...

Re: StringExtension

Posted: Sun Dec 11, 2011 3:03 pm
by zorgat
Thank-you c4s

I will do just that.

Oh! Well...back to the Future!

Thanks again to all of you.


Zorg

Re: StringExtension

Posted: Mon Dec 12, 2011 12:01 pm
by Baldrick
FWIW, if you have a look in your PureLibraries directory, you will find a file called "string". This is the replacement for the old defunct "StringExtension" which happened in 1 of the official PB updates I would guess around 2 years or so back.
I got caught pretty badly with that 1 with a reasonably decent sized project using SQlite in which I was reliant on a 3rd party lib. That was when I made the decision to drop all 3rd party libs.

If you need anything like 3rd party libs, I would recommend you look for alternative "include" files 1st as they are much easier to modify if needed as this sort of thing happens with PB updates.

Re: StringExtension

Posted: Thu Dec 15, 2011 2:18 am
by zorgat
Thanks Baldrick,

That's good to know. Keeping track of all the changes, updates, and work-a-rounds is a full time job in itself.

Have a great holiday,

Zorg.