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 Discussion / CLI doesn't seem to work

Author
Message
Geo Kinkladze
19
Years of Service
User Offline
Joined: 8th Mar 2006
Location:
Posted: 10th Mar 2006 13:57
Downloaded the trial last night, went through the first tutorial, tells you to switch to CLI and Print "Hello World", which i do. Nothing appears when I press enter(Is it suppose to appear at the top?), it just returns to the prompt >>. Anyway i retyped the command a few times, made a purposeful error and got an error message, so it is at least recognising what I type. I have searched the forums and other people have had flashing screens with Win XP. I don't have that problem. I have win XP.

Cheers.
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 10th Mar 2006 23:22
The CLI works for me. I haven't gone through that tutorial, don't know what exactly it teaches you, but I doubt you will hardly ever use the CLI anyway, so you may as well skip it. The only reason to use the CLI is for printing stuff to a physical printer. Most DB Classic programs run on the screen, without the CLI.

blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 11th Mar 2006 13:04
Quote: "The only reason to use the CLI is for printing stuff to a physical printer."


No, CLI just allows you to run commands on the spot. Using the 'print' command in the CLI does *not* "print" the text, it displays it on the screen; like the 'print' command always does.

Geo: Admittedly you could get away with skipping that tutorial, but try running 'cls' and then running the print "hello world" command. Might work, might not.

... installing gentoo ...
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 11th Mar 2006 17:06 Edited at: 11th Mar 2006 17:16
Quote: "No, CLI just allows you to run commands on the spot. Using the 'print' command in the CLI does *not* "print" the text, it displays it on the screen; like the 'print' command always does."


I didn't mean that using the print command prints things to a printer. I meant that the best way to print text is to send it to an external windows CLI, and then use the Print command in the menu option. I think we are talking about two different things anyway. I meant an external CLI, and I think this is about the Editor's command interface, which I totally forgot about, because I have never used it.

Yeah...

Print "Hello World"

Should show up at the top of the screen.

Geo Kinkladze
19
Years of Service
User Offline
Joined: 8th Mar 2006
Location:
Posted: 11th Mar 2006 20:12
Here's a screenshot of the problem..

I have tried cls and Sync on also.

Attachments

Login to view attachments
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 14th Mar 2006 10:57
Quote: "I didn't mean that using the print command prints things to a printer. I meant that the best way to print text is to send it to an external windows CLI, and then use the Print command in the menu option. I think we are talking about two different things anyway. I meant an external CLI, and I think this is about the Editor's command interface, which I totally forgot about, because I have never used it."


Ya lost me there dude.

@Geo
Is the program in a loop? It may be sync or cls-ing over your Hello World.


I'm going to eat you!
nojbox87
19
Years of Service
User Offline
Joined: 26th Jun 2005
Location: England
Posted: 14th Mar 2006 11:53
Quote: "Ya lost me there dude."

same..sorry but im not good with abbreviations or technical stuff

and yes could u post the exact code you are using?
and have your tried putting 'wait' at the end of the code? just an idea.

jon

I am a Christian and I know that God loves me. That is what makes my life so great!
Sonic 91 Software
20
Years of Service
User Offline
Joined: 19th Mar 2005
Location: In a Cryptic Crossworld!
Posted: 14th Mar 2006 12:48
try typing the program into the editor rather than the cli. typing into the cli will run it there and then, great for debugging, object positioning, etc.

it may be a long shot, but your pc may not support backbuffering. i had the same problem with a 2nd hand pc i bought.

I am a Christian and I know that God loves me. That is what makes my life so great!
Geo Kinkladze
19
Years of Service
User Offline
Joined: 8th Mar 2006
Location:
Posted: 14th Mar 2006 19:52
The exact code I was using was

Print "Hello World"

I have given up on DBC trial and downloaded DBPro trial instead. DBPro seems to work fine.

Login to post a reply

Server time is: 2025-05-23 19:28:18
Your offset time is: 2025-05-23 19:28:18