Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Woot.. I got upgraded to Pro and I got questions... Starting with queues and stacking

Author
Message
The Lone Programmer
23
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 21st Oct 2003 05:55
Sup,
Just bought Dark Basic Pro at Compusa today because if I used DBC any more than I would have ripped all my hair out.

Ok anyways... First off, I hear there is a discount or something. I purchased DBC from Game Creaters in January 2003. Now I purchased DBP from Compusa. Do I still get a discount if I cant prove purchase?

I started up DBP and went to some examples and showcase, and with my luck, I already received problems. Now shouldnt the built in stuff work.

Anyways here is my main purpose of the purchasing of DBP. In Classic I have been working on an item menu. Well since it is pretty much 99% impossible to do in Classic I came over to this side to try. I hear that the name of what I am looking for is called listing, queues, and stacking.

Of course the tutorials dont help so I was wondering if anyone in here could help me out. Maybe give me some easy understanding snippet examples. Here is a detailed explanation of what I am trying to do, cause most people dont understand what I'm talking about.

Say I got a menu for items. Say I have coded these simple item variables and integers.


Ok those are my 3 items for my menu (just keeping simple). Ok say you buy or find an item. Then the item increases by 1. Say you use, drop, or sell an item. Then the item decreases by 1. The items build up. Supposively not too hard to do.

Well say I have got set spots like so.


Umm and say that when an item equals zero it turns into the text "Empty" on the menu. Well if you dont understand here is my DBC code. Maybe you can help me transform into DBP style.


Well thanks in advance for the help.
Nicolas

*Current Project: Untitled RPG
*Working With: Vash the Stampede 815
*Future Number: Eleventy
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 21st Oct 2003 16:04 Edited at: 21st Oct 2003 16:18
Quote: "I started up DBP and went to some examples and showcase, and with my luck, I already received problems. Now shouldnt the built in stuff work."

Does for me. Have you installed the latest graphics drivers and patch 5.1b?

That code should actually work exactly as you've got it there. However to use Queues, stacks etc, unfortunately, you will have to ask someone else - I haven't used them...


Avatar & Logo by Indi. Insert witty comment here...
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st Oct 2003 21:17
OMG Smokie, where-ever I go, there you are

Have a look in CodeBase You'll see some examples of stacks and queues that I posted there. I haven't done one for lists yet, but I suppose that I could at some point.

Oh, and I believe that the discount is only available if you purchase DBPro from TGC, but you could email Rich and ask him for the definitive answer.

Login to post a reply

Server time is: 2026-07-26 05:22:41
Your offset time is: 2026-07-26 05:22:41