This works here if compiled to unicode:
openConsole()
s.s = "Deutschland ÜBER Alles"
charLower_(@s)
printN(s)
s.s = "Deutschland ÜBER Alles"
charUpper_(@s)
printN(s)
while inkey() = ""
wend
closeConsole()
end
Oh, yeah, that worked! But a little explanation would be nice. What the hell ...
Search found 19 matches
- Mon Dec 17, 2007 10:46 pm
- Forum: Coding Questions
- Topic: How to lowercase a unicode character?
- Replies: 21
- Views: 4354
- Mon Dec 17, 2007 7:30 pm
- Forum: Coding Questions
- Topic: How to lowercase a unicode character?
- Replies: 21
- Views: 4354
- Mon Dec 17, 2007 3:39 pm
- Forum: Coding Questions
- Topic: How to lowercase a unicode character?
- Replies: 21
- Views: 4354
- Mon Dec 17, 2007 2:05 pm
- Forum: Coding Questions
- Topic: How to lowercase a unicode character?
- Replies: 21
- Views: 4354
How to lowercase a unicode character?
I am trying to "LCase" the user input. But it fails when a unicode character is entered. Thye program simply outputs the entered string.
How can I fix this?
.
How can I fix this?
.
- Tue Dec 11, 2007 3:46 pm
- Forum: General Discussion
- Topic: About the PureBASIC book: Hi, the author, are you here?
- Replies: 26
- Views: 8262
- Tue Nov 27, 2007 8:48 pm
- Forum: General Discussion
- Topic: About the PureBASIC book: Hi, the author, are you here?
- Replies: 26
- Views: 8262
- Tue Nov 27, 2007 5:10 pm
- Forum: General Discussion
- Topic: About the PureBASIC book: Hi, the author, are you here?
- Replies: 26
- Views: 8262
About the PureBASIC book: Hi, the author, are you here?
I think many people here know the book "PureBASIC: A Beginner's Guide to Programming".
Do its author or publisher hanging out in this forum? I am writing these here because I can't find a correspondence in its homepage ( http://www.pb-beginners.co.uk ).
1) The "buy it" links seems broken.
2) And ...
Do its author or publisher hanging out in this forum? I am writing these here because I can't find a correspondence in its homepage ( http://www.pb-beginners.co.uk ).
1) The "buy it" links seems broken.
2) And ...
- Sat Nov 24, 2007 10:39 am
- Forum: Coding Questions
- Topic: Prototypes make me sick
- Replies: 8
- Views: 1677
Thanks to this excellent forum
A prototype is the same concept applied to procedures. You do something like:
Prototype.q action(number.l, float.f, byte.b)
and you've created a template for a procedure that takes in a long, a float and a byte and returns a quad.
Now you do:
MyProc.action = @SomeProc()
and you've created a ...
Prototype.q action(number.l, float.f, byte.b)
and you've created a template for a procedure that takes in a long, a float and a byte and returns a quad.
Now you do:
MyProc.action = @SomeProc()
and you've created a ...
- Fri Nov 23, 2007 6:29 pm
- Forum: General Discussion
- Topic: Seeking an advocate for Evil
- Replies: 25
- Views: 6017
Back compatibility is not necessarily a good thing
This is one of the reasons why the language is so clean and simple, the team aren't afraid to change the language if they find a better way of doing it.
To my humble knowledge, back compatibility issues with C made the C++ so ugly and hard to learn.
I strongly hope that the team will not change ...
To my humble knowledge, back compatibility issues with C made the C++ so ugly and hard to learn.
I strongly hope that the team will not change ...
- Thu Nov 22, 2007 8:01 pm
- Forum: Coding Questions
- Topic: Prototypes make me sick
- Replies: 8
- Views: 1677
Prototypes make me sick
Can you please "point" me a good tutor about prototypes?
I am trying to learn from PB's chm help file and "PB Survival Guide" but the subject seems so hard. I need extra support...
I am trying to learn from PB's chm help file and "PB Survival Guide" but the subject seems so hard. I need extra support...
- Thu Nov 22, 2007 5:14 pm
- Forum: Coding Questions
- Topic: To point or not to point
- Replies: 3
- Views: 956
Ah yes... C/C++ made the confusion
That makes things clearer. C/C++ made my mind confused...In Purebasic, a pointer is just a variable of type long which we usually use to store addresses.
My thanks go to all PB fans...
- Thu Nov 22, 2007 3:59 pm
- Forum: Coding Questions
- Topic: To point or not to point
- Replies: 3
- Views: 956
To point or not to point
I am trying to learn using dll functions. I have seen an example from the "PureBASIC Survival Guide" ( http://www.xs4all.nl/~bluez/datatalk/pure5.htm#3_winapi_and_dlls ) like this:
OpenLibrary(1,"MyMagical.dll")
*a_pointer = GetFunction(1,"blahblahblah")
CallFunctionFast(*a_pointer,first_variable ...
OpenLibrary(1,"MyMagical.dll")
*a_pointer = GetFunction(1,"blahblahblah")
CallFunctionFast(*a_pointer,first_variable ...
- Thu Nov 22, 2007 8:24 am
- Forum: General Discussion
- Topic: PureBASIC and expert systems
- Replies: 6
- Views: 3037
Don't gimme fish, teach me fishing instead
As a novice, I need your advices. In order to use CLIPS (or CLIPS.dll) together with PureBASIC, I am currently trying to learn how to use a dll from PB ( http://www.xs4all.nl/~bluez/datatalk/pure5.htm#3_winapi_and_dlls ). I started with CallFunction and will advance to prototypes. As far as I ...
- Wed Nov 21, 2007 9:18 am
- Forum: General Discussion
- Topic: PureBASIC and expert systems
- Replies: 6
- Views: 3037
Never heard
Using PB and CLIPS in games? Hmm... Sounds exciting. But I don't know an example of it. My goal is to build an expert system which is consisted of CLIPS as the inference mechanism and PB for user interface. Of course PB itself can be used alone for such a system but a shell will make things easier ...
- Tue Nov 20, 2007 10:14 pm
- Forum: General Discussion
- Topic: PureBASIC and expert systems
- Replies: 6
- Views: 3037
PureBASIC and expert systems
Is anybody here interested in artificial intelligence, especially expert systems?
I am planning to use an expert system shell, that is CLIPS ( http://www.ghg.net/clips/CLIPS.html ), with PureBASIC.
CLIPS has a dll, too ( http://ourworld.compuserve.com/homepages/marktoml/clipstuf.htm ).
There are ...
I am planning to use an expert system shell, that is CLIPS ( http://www.ghg.net/clips/CLIPS.html ), with PureBASIC.
CLIPS has a dll, too ( http://ourworld.compuserve.com/homepages/marktoml/clipstuf.htm ).
There are ...