Search found 2752 matches

by Tourist Trap
Jun 07, 2015 15:26
Forum: Tips and Tricks
Topic: Time Ellapsed Displayer UDT and function
Replies: 8
Views: 1188

Re: Time Ellapsed Displayer UDT and function

Good heavens, why are you doing it that complicated? Hi grindstone. Nice piece of code again! To answer you, I had no idea that static could serve in a function. In fact I've met first the case where static was put into a UDT. Some time ago I remember having failed to use shared to build global var...
by Tourist Trap
Jun 07, 2015 14:32
Forum: Documentation
Topic: Documenting Syntax
Replies: 7
Views: 3201

Re: Documenting Syntax

(...) The best (IMHO) should be that in the documentation: - only list of the different supported syntaxes, without keyword "Overload", - but an ordered list representing the compiler choice priority. This also is very true. Too much condensed syntax is most often unreadable. 1 / NAME old...
by Tourist Trap
Jun 07, 2015 12:29
Forum: Tips and Tricks
Topic: Time Ellapsed Displayer UDT and function
Replies: 8
Views: 1188

Time Ellapsed Displayer UDT and function

Hi, The idea (quite a classic) is to get a function that show ellapsed time between its last call and displays it (in a packed and versatile maneer). Calling it "PutTimeStone()" it behaves like below : 'Do something ... TimeStone() ''<----- Shows ellapsed time since last call, here 0 'Do s...
by Tourist Trap
Jun 06, 2015 21:05
Forum: Documentation
Topic: Operator Cast missing from the index
Replies: 21
Views: 2617

Re: Operator Cast missing from the index

"Cast()" is the only procedure/operator which can be overloaded to return different datatypes: Code I think that from this, there is a workaround. I'm not 100% sure because something did'nt work in the code below [ EDIT: Fixed, it was use of val() when I needed asc()]. I've used cast abil...
by Tourist Trap
Jun 06, 2015 16:31
Forum: Documentation
Topic: Operator Cast missing from the index
Replies: 21
Views: 2617

Re: Operator Cast missing from the index

Ok! I've just been looking at the wiki index page. It is very different from what I've got when running CHM file. Funny thing is that what I was asking for about libs is actually implemented online. I knew I had seen that already. But if you take at look at chm file version, it's quite different and...
by Tourist Trap
Jun 06, 2015 16:15
Forum: Documentation
Topic: Operator Cast missing from the index
Replies: 21
Views: 2617

Re: Operator Cast missing from the index

Hi Dlk, thanks, would be kind.

As I said I can't generally use online wiki. Is there a big difference between online help and the file downloadable as .chm ? Or is it generated from it often enough, and should I be confident on it for being mostly up to date? I mean for current version of compiler.
by Tourist Trap
Jun 06, 2015 15:40
Forum: Documentation
Topic: Operator Cast missing from the index
Replies: 21
Views: 2617

Re: Operator Cast missing from the index

I use offline chm help file since I've got erratic network. Anyway the Wiki is very much readable from what I can see. Whatever I dont deny that I was finally able to find Cast() somewhere in the docs. However as most of non plain-text english readers, and even english ones, I rely mostly on the ind...
by Tourist Trap
Jun 06, 2015 10:17
Forum: Documentation
Topic: Operator Cast missing from the index
Replies: 21
Views: 2617

Operator Cast missing from the index

Hi, I'm probably under influence of vb.net because I will make some remarks that matter for passing vb code to fb. But that's also general remarks that applies from a pure FB point of view. For now it will be about conversion utility. I've met 2 difficulties. The two are related with documentation b...
by Tourist Trap
Jun 06, 2015 9:06
Forum: Documentation
Topic: CIRCLE unclear?
Replies: 10
Views: 1608

Re: CIRCLE unclear?

Like I said: It's a primitive method, only to illustrate the principle. And it's really slow, because any of the three colours of every pixel has to be recalculated. Not your method in cause. When thinking about all those pixels directly manipulated and displayed again and again, it is normal this ...
by Tourist Trap
Jun 05, 2015 5:43
Forum: Documentation
Topic: CIRCLE unclear?
Replies: 10
Views: 1608

Re: CIRCLE unclear?

Hi, I want to automatize the creation of the graphic screen first, so that it spawns correctly (depending on the user desktop) at any time when the program meets the first graphic function to render. This mode is then kept alive as current screen and wont be resized. This first thing is not solved s...
by Tourist Trap
Jun 04, 2015 19:17
Forum: General
Topic: Slightly unpredicatable spacing with Print coma ?
Replies: 8
Views: 560

Re: Slightly unpredicatable spacing with Print coma ?

Nice and this gives me a better insight in my today questionning since Locate statement combined with Print ; seem to grant me the good amount of control for printing over the console.
by Tourist Trap
Jun 04, 2015 18:54
Forum: General
Topic: Slightly unpredicatable spacing with Print coma ?
Replies: 8
Views: 560

Re: Slightly unpredicatable spacing with Print coma ?

..... A new-line character is printed after the values in the expression list unless the expression list is followed by a comma or semicolon . To avoid carriage return, put a semicolon at the end of the expression list. Ok, when reading this I had first understood that it was the case where some te...
by Tourist Trap
Jun 04, 2015 18:14
Forum: General
Topic: Slightly unpredicatable spacing with Print coma ?
Replies: 8
Views: 560

Re: Slightly unpredicatable spacing with Print coma ?

Compared with the current position of cursor, comma pushes the cursor position at the first available tab position (among the 6 above) by incrementing the current cursor position at least by 1. Fxm, very surprinsingly, it's absolutely true ! This code shows that the 2 first numbers can sit just one...
by Tourist Trap
Jun 04, 2015 15:37
Forum: General
Topic: Slightly unpredicatable spacing with Print coma ?
Replies: 8
Views: 560

Slightly unpredicatable spacing with Print coma ?

Hi, From the documentation : Print Writes text to the screen (...) A comma indicates printing should take place at the next 14 column boundary (...) Running the code below gives me : 12 then 14 spaces between the texts. In another case it was 13 and 14 (changing the Y in the locate). Variable anyway...
by Tourist Trap
Jun 04, 2015 10:20
Forum: Documentation
Topic: CIRCLE unclear?
Replies: 10
Views: 1608

Re: CIRCLE unclear?

Hello grindstone. Let me answer first to what has been relevantly enumerated. 1) How should the compiler know which size of the window would be suitable for your purposes? You're right this is not the job of a general purpose compiler. Whatever, why not a library made for allow this kind of usage? J...

Go to advanced search