Question about Enteractive DarkBASIC 3D Games Creator for PC

1 Answer

About nests Could anyone tell me what this error message means? After running source code, message reads: "Could not close nest at line ##" I'm new to DarkBASIC and most programming languages, but I'd just like a method to pursue debugging it myself as to learn better. Cheers, Dharq

Posted by on

  • imhotter1
    imhotter1 Dec 06, 2012

    set text size 60 cls rgb(0,0,0) `opening to the game center text 300, 150, "CRAPS" set text size 25 center text 310, 200, "CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" SET TEXT SIZE 18 center text 300, 250, "press any key to continue" wait key cls rgb(0,0,0) print : print : print R = 10 T = 0 game_start() function game_start() Number_choice() Dice_roll() endfunction function Number_choice() print "losing numbers: 2, 3 ,and 12" print "point numbers: 4,5,6,8,9, and 10" print "jackpot numbers: 7 and 11" print "other numbers dont matter" print "pick a number and type it in, than click enter to roll dice" input Z: X = (rnd(0)) T = T + 1 if T = 0 print "if you want to play again input 5, if not put in aything else" input M if M = 5 game_start() else ending_credits() endif endif endif return function ending_credits() print "thank you for playing" print "press any key to end" wait key end endfunction _line230: if X = 4 or 5 or 6 or 8 or 9 or 10 print X;" is a point. i will roll again" H = int(7*RND(1)) Q = int(7*RND(1)) O = H + Q if O = 1 or 0 gosub _line230 if O = 7 gosub _line290 if O = X line310() exit endif endif endif endif return _line290: print "you lose $" ;F F = 0 - F R = R + F gosub _line320 return function line310() SET TEXT SIZE 50 print "winner............CONGRATS!!!!!!" SET TEXT SIZE 1 PRINT "its a girl" set text size 18 F = 2 * F R = R + F if X = 4 or 5 or 6 or 8 or 9 or 10 print X;" is a point. i will roll again" H = int(7*RND(1)) Q = int(7*RND(1)) O = H + Q if O = 1 or 0 gosub _line230 if O = 7 gosub _line290 if O = X line310() exit endif endif endif endif endfunction

×

1 Answer

That's when you forget to add endif after the IF statement

Posted on Jul 02, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

I have an issue running Itunes on an Asus laptop with windows 10. When I click to preview a song iTunes gives an error message saying that "iTunes has encountered an error" then it closes the program.


You might need to update iTunes and see if that fixes it. Or you can look up the performance logs on your computer and it will tell you what the error is. You can then look up that error on the net to see if the solution is out there.

Dec 14, 2015 | ASUS Graphics Publishing, Design &...

1 Answer

Installed autosketch v8 onto new laptops and cant regisiter have a script error come up saying "An error has occured in the script on this page" Line: 451 Char: 1 Error: product is...


Yes, it will work on Windows 8. Right click on the AutoSketch icon and click on TROUBLESHOOT COMPATIBILITY. Let it scan the click on TRY RECOMMENDED. It should set to start compatibility for WINDOWS XP (SP3). Click on TEST and it should continue and then FINISH or NEXT and close out the window. It worked for me!

Nov 08, 2011 | Autodesk AutoSketch 8.0 for PC

3 Answers

I have Windows 7 and just installed PrintMaster 2.0 Platinum. I cannot print anything. here is the error message. PrintMaster 2.0 Platinum encountered the following error: java.lang.NumberFormatException:...


Hi,
I had the same problem. If you are using a french version of Windows, try to switch your regional settings to "English US". It worked for me. Every time we use an English software on a French version of Windows, we have compatibility problem... ;)
Good Luck!

Dec 21, 2009 | Broderbund PrintMaster Platinum

1 Answer

Serial number: 1045-1090-6246-8353-3166-2968


Hi Storm,

First, never post any Serial #'s, Prod-Key's, Activation Codes, etc on the net. Anyone can read and use them. I've sent a message to our Manager asking that they be edited out.

Second, you are looking for Adobe. We don't supply Activations for manufacturers. That is strictly their responsibility. Meaning, they play their cards close to the vest.

If you don't mind me asking, what brought you to Fixya for the activation? You are the second person that I know of in just a few hours. Just curious.

Best regards,
Mike

Oct 12, 2009 | Adobe Photoshop CS3 10

1 Answer

I want to change the title of an embedded file in a document


If you mean changing the code from a simple "title" rather than showing the exact source code of the embed code, you can do a URL link.

Your source code should look something like this:

<a href="the-path-to--your-embed-code-here">"Your desired title"</a>

Tell me if this is the one you want to do.

Sep 29, 2009 | HP Graphics Publishing, Design &...

1 Answer

I have Matrox RTX100 card when i run premier error message appear


There are occasions you find yourself facing DVDs as source videos for a project or need to do some "operation" on DVD with Adobe Premiere Pro. Whether it's for a wedding video, a sport highlight film, a video game demo, or some other project, more and more people have their video footage on DVDs (only) these days. Obviously this is not a wise move for editing - the video file has already been compressed, so you've already lost quality to begin with. But the fact is that you have to work with what you've got.

There are many problems would arise when importing and editing DVD to Adobe Premiere Pro, I just listed some of them here below, just check them out, if you happen to fall into one of their situation, then just read patiently, you will find an answer at the end

read more...

http://www.dvdripperformacos.com/dvd-to-adobe-premier-pro/

Jul 04, 2009 | Adobe Premiere Pro 2.0 Studio Techniques -...

1 Answer

Code 10 no cd/dvd drive found, unable to burn cd?


To solve this Code 10 error, follow these instructions: NOTE: After removing these registry keys and rebooting, it may be necessary to reinstall any CD or DVD recording applications.
1) Close all open programs

2) Click on Start, Run, and type REGEDIT and press Enter

3) Click on the plus signs (+) next to the following folders
  • HKEY_LOCAL_MACHINE
  • SYSTEM
  • CurrentControlSet
  • Control
  • Class
  • {4D36E965-E325-11CE-BFC1-08002BE10318}
4)This folder is the DVD/CD-ROM Drive Class Description in the registry.Look for any of the following names in the right hand column.
  • UpperFilters
  • LowerFilters
  • UpperFilters.bak
  • LowerFilters.bak
5) If any of the above keys shown in step 4 are listed, right-click on them and choose Delete

6) After deleting the keys, close the
Registry Editor

7) Reboot your computer


8) Open My Computer and check to see if your CD or DVD drives havereturned. You may also want to open Device Manager and verify that theyellow exclamation and error code on the CD or DVD drive is gone.

Jun 24, 2009 | Apple iTunes

1 Answer

QuickTime Troubleshoot


I am having a 'problem' installing iTunes v8 - the install seems to go ok until I get to the part of the program which invokes the Quicktime software upload (v7.5).
Although I don't get a 'controlled' Error message, I am advised that
"A newer version of Quicktime is installed on your computer - Quicktime needs to close" a message then appears telling me that iTunes install has failed as "iTunes needs QuickTime" - no **** sherlock!!
Try as I might I am unable to get past this problem - can anyone out there advise me ?

I have uninstalled until I am blue in the face using all teh standard solutions i.e Regedit, MSConfig, removed Temp Files in Docs & Settings etc etc. To my mind there is still part of the system that has nested a piece of Quicktime code that is screwing up the install.

This is doing my head in and I have 2 iPods that requirev v8 that I cannot use!!

Sep 15, 2008 | Apple QuickTime

1 Answer

Error in run cd


Nice screen capture of the WHOLE screen.
However it can NOT be read by anyone online.
I use Gadwin PrintScreen (Free version) and tweak it to capture any size rectangle that you draw on the screen.
To tweak, right click on the Systray icon. Select properties, then select Source, put a dot in the Rectangular Area.

Oct 25, 2007 | Adobe Photoshop 7.0 for PC

Not finding what you are looking for?
Enteractive DarkBASIC 3D Games Creator for PC Logo

Related Topics:

413 people viewed this question

Ask a Question

Usually answered in minutes!

Top Enteractive Graphics Publishing, Design & Multimedia Software Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18299 Answers

Cindy Wells

Level 3 Expert

4758 Answers

kakima

Level 3 Expert

96608 Answers

Are you an Enteractive Graphics Publishing, Design and Multimedia Software Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...