Search found 46 matches

by Psyche_Demon
Feb 20, 2017 13:21
Forum: General
Topic: My deepest grattitude to you all
Replies: 2
Views: 529

My deepest grattitude to you all

Hi there, I would like to offer my deepest grattitude to the FB developers, and also to you, the community, who put such hard and dedicated work into expanding the documentation, creating tutorials, and most importantly, being helpful and patient to newcomers and experienced users alike. My programm...
by Psyche_Demon
Feb 09, 2017 0:46
Forum: General
Topic: Returning Arrays
Replies: 21
Views: 2188

Re: Returning Arrays

Dodicat, That's an interesting solution, but these still wouldn't be able to be accessed like ordinary arrays. Similarly the procedures deal with individual elements on a global type, rather than acting inside the array. my_array.insert_at(1, "test") ''Insert a string at position 1. Of cou...
by Psyche_Demon
Feb 08, 2017 18:36
Forum: General
Topic: Returning Arrays
Replies: 21
Views: 2188

Re: Returning Arrays

Hi, That is still limited to only 3 datatypes. If I wanted a fully customised, fully flexible, usable array type, how would I go about that? For instance, how could I declare arrays of both intrinsic and custom datatypes? What if I wanted to have arrays of strings, doubles, files, devices, pages, li...
by Psyche_Demon
Feb 08, 2017 17:21
Forum: General
Topic: Returning Arrays
Replies: 21
Views: 2188

Re: Returning Arrays

So I would have to make an overloaded function for every conceivable datatype? My ideal would be: type array ''Constructor/destructor, functions, properties etc item(any) as any ''we don't know the datatype until the constructor is called. end type constructor array(item_type as datatype) redim item...
by Psyche_Demon
Feb 08, 2017 16:42
Forum: General
Topic: Returning Arrays
Replies: 21
Views: 2188

Re: Returning Arrays

you could implement a call-back mechanism, which then uses the correct procedure, to manipulate the array. The actual handler-procedures (overloaded), are then doing the actual processing (behind the scenes). Not sure how that would work. The callback would still need to know the datatype to know w...
by Psyche_Demon
Feb 08, 2017 9:45
Forum: General
Topic: Returning Arrays
Replies: 21
Views: 2188

Returning Arrays

Hi there, I think I mentioned at one point that I was making a huge high-level library to mirror and perhaps even extend the library built into a previous scripting language I used to create games. This includes versatile arrays, hashmap dictionaries, vectors, timers, sounds, calendars, networking, ...
by Psyche_Demon
Jan 18, 2017 17:47
Forum: General
Topic: Limitations, bugs or misunderstandings?
Replies: 3
Views: 432

Limitations, bugs or misunderstandings?

Hi, As some of you are no doubt aware, I have made several appearances left right and centre throughout the forum. I have come from a mostly scripting background and so the journey to a proper programming language has been slow to say the very least. However, on looking into other topics and posting...
by Psyche_Demon
Jan 13, 2017 12:16
Forum: Documentation
Topic: Compiler error messages
Replies: 9
Views: 1626

Re: Compiler error messages

Gotcha. Yeah, I guess it would be tricky to add a more descriptive index to that document then, if it's all automatic.
by Psyche_Demon
Jan 13, 2017 10:49
Forum: Documentation
Topic: Compiler error messages
Replies: 9
Views: 1626

Re: Compiler error messages

Hi,
The warnings are already listed from 1 to 39 and errors from 1 to 323 in numeric order. All it needs is an explanation next to each one. If any warnings/error codes/messages do change, this document would have to be updated anyway.
Cheers.
by Psyche_Demon
Jan 13, 2017 10:15
Forum: Documentation
Topic: Compiler error messages
Replies: 9
Views: 1626

Re: Compiler error messages

Hi, Oh oops, yeah. Second error was embarrassingly easy. Just whipped it up as an example so didn't do much real looking over. Lol. So looks like I'll have to look at static vs. non-static functions then. Is the documentation open for anyone to edit? Perhaps I could start working on a proper error d...
by Psyche_Demon
Jan 13, 2017 9:44
Forum: Documentation
Topic: Compiler error messages
Replies: 9
Views: 1626

Re: Compiler error messages

Hi, Most of these errors I obtained from the docs, so unfortunately I wouldn't know when they would be triggered, until I actually came across them. The example you gave about nonstatic members still doesn't make sense - I would have thought that should trigger an error with UDT rather than UDT.I, g...
by Psyche_Demon
Jan 12, 2017 23:09
Forum: Documentation
Topic: Compiler error messages
Replies: 9
Views: 1626

Compiler error messages

Hi, Naturally, when I get an error message during compilation, the first place I tend to check is the FB documentation. The problem with that is, while it gives an ordered list of all the different errors it is possible to get, I can't find anywhere that explains, even briefly, what these errors cou...
by Psyche_Demon
Jan 04, 2017 9:58
Forum: Windows
Topic: Controlling a CD/DVD drive
Replies: 3
Views: 670

Re: Controlling a CD/DVD drive

Hi there,
I stand corrected - thanks. Do you happen to know whether this is still the official standard method of communicating with CD drives?
by Psyche_Demon
Jan 04, 2017 5:14
Forum: General
Topic: GUI design
Replies: 47
Views: 4624

Re: GUI design

Hi there, The disphelper.bi comes packaged with the FreeBASIC installation. What doesn't come with it is the actual library, as specified by the line: #inclib "disphelper" This expects either a static or dynamic linked library, none of which are available without compiling Disphelper direc...
by Psyche_Demon
Jan 04, 2017 4:01
Forum: General
Topic: GUI design
Replies: 47
Views: 4624

Re: GUI design

Hi there,
Interesting code. I can't compile it though - I can only find disphelper as a C source code file, not as a library.
Cheers.

Go to advanced search