Search found 738 matches

by grindstone
Oct 21, 2020 9:10
Forum: Linux
Topic: SETENVIRON
Replies: 1
Views: 47

Re: SETENVIRON

In Windows it works.
by grindstone
Oct 20, 2020 20:59
Forum: Tips and Tricks
Topic: The beauty / magic of math
Replies: 5
Views: 190

Re: The beauty / magic of math

UEZ wrote:Not only the banana is math ;-)
I (personally) would rather say: "math is banana" <grin>

Maybe it's the fault of my teachers, but in the best case I consider mathematics as a necessary evil. Sorry for that.
by grindstone
Oct 14, 2020 22:43
Forum: General
Topic: I hate shell
Replies: 17
Views: 4925

Re: I hate shell

And what about shell commands that don't produce any return string at all, but e.g. start another programme?
by grindstone
Oct 05, 2020 19:00
Forum: Projects
Topic: Mosquito (UCI chess engine)
Replies: 22
Views: 2887

Re: Mosquito (UCI chess engine)

Roland Chastain wrote:Congratulations for your victory. :)
Thank you, but I'm a pretty bad chess player (although I love that game).

Roland Chastain wrote:It uses your excellent bipipe library.
Please don't forget to mention darkinsanity who did the Linux stuff.
by grindstone
Oct 04, 2020 15:16
Forum: Beginners
Topic: LCase UCase ANSI Characters
Replies: 14
Views: 383

Re: LCase UCase ANSI Characters

Alternatively you can translate the string into the OEM format (Windows only):

Code: Select all

#Include "windows.bi"
Dim As String L = LCase("ÀÁÂÃÄÅ"), U = UCase("àáâãäå")
CharToOem(L,L)
Print L
CharToOem(U,U)
Print U
Sleep
by grindstone
Sep 14, 2020 12:49
Forum: General
Topic: Does Anyone have a clue as to why this doesn't work?
Replies: 7
Views: 198

Re: Does Anyone have a clue as to why this doesn't work?

It's quite simple:

Code: Select all

Dim As Integer ff

ff = FreeFile

Open "C:\textfile.txt" For Output As ff
Print #ff, "This is a test"
Close ff

Have a look at the reference for further informations.
by grindstone
Sep 13, 2020 15:54
Forum: Tips and Tricks
Topic: Play videos on the console (Windows)
Replies: 13
Views: 523

Re: Play videos on the console (Windows)

I apologise, it was not caused by your program, Windows automatically changes the view if searching for media files ("It's not a bug, it's a feature"). Thank you for that hint.
by grindstone
Sep 13, 2020 12:25
Forum: Tips and Tricks
Topic: Play videos on the console (Windows)
Replies: 13
Views: 523

Re: Play videos on the console (Windows)

Correction: I used a corrupted .avi file for testing. Playing .avi files now works.

I'm not really sure, but maybe the program changed the "view" options of the searching function (F3) on my machine from "details" to "thumbnail".
by grindstone
Sep 12, 2020 14:04
Forum: Tips and Tricks
Topic: Play videos on the console (Windows)
Replies: 13
Views: 523

Re: Play videos on the console (Windows)

Here (WinXP 32) only .mp3 works. No controls (pause, resume...) while playing.
by grindstone
Sep 10, 2020 9:12
Forum: Beginners
Topic: Preliminary Update to FBeginner EBook
Replies: 21
Views: 840

Re: Preliminary Update to FBeginner EBook

Although I couldn't put more than a cursory glance on it, I must say you did an excellent job, and I agree with D.J.Peters that your EBook should become part of the FB download or at least been admitted into the "Documentation" download folder.
by grindstone
Aug 26, 2020 13:19
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 45
Views: 2811

Re: [off topic?] Ice creams and keys

olympic sleeper wrote:So...What's your favourite ice cream flavour?

Chocolate
Vanilla
Lemmon
Strawberry
Raspberry
Woodruff
Apple
Pistachio
Malaga
Stracciatella
Tomato (!)
Mocca
Blackberry
Cherry
Rockmelon
Gooseberry
Pear
Elder
Kiwi
Peach

My favoured flavour by far is (homemade) chocolate ice. *smile*
by grindstone
Aug 15, 2020 9:01
Forum: Beginners
Topic: [solved] GET and PUT ( graphics ) commands slow down my program[solved]
Replies: 64
Views: 1366

Re: GET and PUT ( graphics ) commands slow down my program

@Daniel Ouellette: How do you read the USB port?
by grindstone
Aug 09, 2020 20:34
Forum: Beginners
Topic: [solved] GET and PUT ( graphics ) commands slow down my program[solved]
Replies: 64
Views: 1366

Re: GET and PUT ( graphics ) commands slow down my program

If the image is composed of multiple parts it's maybe better to do it invisible in the background. So with ScreenSet and GET? Seems we are a bit asynchronous. *grin* With ScreenSet, but without GET. Have a look at the snippet I posted. Set up the image you want to show the way you did before, but w...
by grindstone
Aug 09, 2020 20:23
Forum: Beginners
Topic: [solved] GET and PUT ( graphics ) commands slow down my program[solved]
Replies: 64
Views: 1366

Re: GET and PUT ( graphics ) commands slow down my program

With "ScreenSet 1.0", I thought I was writing first on a image instead of the screen. Can you explain how? In principle, you are right. But the image you write to has the size of the screen, not of the image you want to show, and that's your problem here. You better write to an image that...
by grindstone
Aug 09, 2020 20:14
Forum: Beginners
Topic: [solved] GET and PUT ( graphics ) commands slow down my program[solved]
Replies: 64
Views: 1366

Re: GET and PUT ( graphics ) commands slow down my program

If the image is composed of multiple parts it's maybe better to do it invisible in the background.

Go to advanced search