Search found 1171 matches

by paul doe
Jul 06, 2020 12:15
Forum: Beginners
Topic: Moot points and semantics(?). Defining a pointer to something that has not been defined.
Replies: 1
Views: 54

Re: Moot points and semantics(?). Defining a pointer to something that has not been defined.

This is one of those typical 'chicken before the egg' problem. FreeBasic allows forward typing, as long as you don't refer to any of its members before: '' Type alias to forward reference type as _d_links _ _d_links_fwd Type _thing name as string long_name as string description as string plurals as ...
by paul doe
Jul 06, 2020 0:01
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

...It looks like you are declaring subs (eg Constructor) within the type KeyValue - which I did not know was possible. Does this result in a pointer to that function existing in the type, or something else? Could these be an an indexed array? If I have a hash table of x elements could those element...
by paul doe
Jul 05, 2020 20:06
Forum: Community Discussion
Topic: Problems with downloading from Sourceforge
Replies: 5
Views: 279

Re: Problems with downloading from Sourceforge

... I don't like the site, but it is free ... Neither do I. GitHub is also free, and support releases, and you don't have to deal with all the crap you describe to get the stuff you want. So: @admins: any chance you'll finally drop SourceForge in the dumpster where it belongs, and start using GitHu...
by paul doe
Jul 05, 2020 5:36
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

Now, every time you run the program, you'll see that it will construct a sentence, using the tags available. One run could yield, for example: I want to do something awfully cool, and also look at something incredibly nice! And the above sentence was constructed from a very simple grammar: I want to...
by paul doe
Jul 05, 2020 5:27
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

Allow me to flesh out the sentence construction idea a little. Let us not concern with efficiency issues for now, and just implement an associative array as a linked list of key-value pairs. Clarity of concept is preferable at this stage (you can later replace it with a more appropriate/efficient ve...
by paul doe
Jul 05, 2020 0:48
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

Any ideas? Several, as usual =D ... I was looking for an image in your post rather than a link and missed it completely, sorry. Strange. The post should show a small(ish) preview image, linked to a bigger version of it. It shows it here. ... Within touching distance on a cliff ledge is a Jackdaw ne...
by paul doe
Jul 02, 2020 21:48
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

Hi Paul, Many thanks for the reply. I am really interested in how the game was able to handle the flora smuggling, as I suspect your friend did not write it in(?) ... Indeed, he did not. I just exploited the implicit object relationships model I explained before. Of course, he got it fixed afterwar...
by paul doe
Jul 02, 2020 1:24
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 46
Views: 1080

Re: SOLVED - MPEG2 Play Code and Win10

@xbgtc: No prob. I just saw it and thought you might find it useful.
by paul doe
Jul 01, 2020 22:26
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

... Something I am trying to do is allow flexability in how problems are solved, some puzzles will be fixed but I want to try and prevent the use everything with everything style of play. Regarding this: if you've read the novel in question, you already know that it is very self-contained: few plac...
by paul doe
Jul 01, 2020 21:57
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

Hello Paul, Many thanks for the suggestions. Yes the bank safe should have said it was open and for some reason did not (missed that). I like the idea of levels of detail, it will save a lot of headaches later when I come to describing shops. Rather than descibing everything on a shelf I can just s...
by paul doe
Jul 01, 2020 19:48
Forum: Windows
Topic: SOLVED - MPEG2 Play Code and Win10
Replies: 46
Views: 1080

Re: SOLVED - MPEG2 Play Code and Win10

xbgtc wrote:...
this is getting weird!

Did you had a look at this thread?

Ways in which I can embed a video player into GFX window?
by paul doe
Jul 01, 2020 10:40
Forum: General
Topic: Embedding a Spreadsheet
Replies: 32
Views: 1006

Re: Embedding a Spreadsheet

Says ie. Wikipedia . You suggest to give up the main advantage of RPN: ... I'm NOT suggesting to give up the advantages of RPN, but extending it to support variadic operators . You're either just not getting the concept, or I'm not explaining it well enough. Nevermind; I've lost interest in the top...
by paul doe
Jul 01, 2020 2:17
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

... However I'm not very happy with the currently generated text as it mainly consists of short sentences and I want something a bit more flowing. Here’s an example test location. This is the middle of a sandy beach that stretches away to the north and south. A short wooden jetty leading east ends ...
by paul doe
Jul 01, 2020 1:34
Forum: Projects
Topic: Old school text adventure as a way of re-learning coding
Replies: 32
Views: 1039

Re: Old school text adventure as a way of re-learning coding

Any suggestions? Yes, several =D ... However I am rather stuck as to how to get this out of a tag list and may need to rework it as a relationship table. This in turn would create issues where more objects are available on or in something. Think of a shop shelf which contains 4 jewellery boxes, eac...
by paul doe
Jun 30, 2020 21:53
Forum: General
Topic: Embedding a Spreadsheet
Replies: 32
Views: 1006

Re: Embedding a Spreadsheet

... Reverse Polish Notation .. there's no syntax to extend. ... Says who? =D ... It contains only values and operators/functions. The brackets get evaluated and eliminated by the parser. The RPN always starts with a value, and always ends by an operator/function. An operator (like '+') needs two va...

Go to advanced search