I'd be glad to take a shot at this =)
First, say you want to ask something like..
Print "What does a dog say?"
If you don't already know, Print is used to print text on the screen, PRINT "What you want goes here in quotes"
-If you want to have someone input something then:
INPUT "Can Print things here", Variable
This basically is, Input-Shows you want someone to type a word/number/phase...
You can print things just like a print statement in the quotes
The Variable means your storing something in it, if its a number, you can just use something like Var, or Num, but if you want to use any letters you need to put an $ after the word. the $ tells DarkBasic that the Variable is a string. Strings store letters. So you would type something like Search$, or Var$.
What if i want DB to do something if someone types what i want them to say?
Well basically you use an If..Endif statement, Basically, a statement saying if one thing happens, do this. You would use it like this.
INPUT "What does a Dog say?",answer$
If answer$= "Woof"
Print "Thats correct, a dog says Woof"
endif
Basically, this code will ask what does a dog say? then check that if what the person typed is Woof. The person has to type Woof exactly as it is or it doesn't work.
For If statements, you always start with:
If (condition). In the preceding examply, the condition was if the person typed Woof, then it would print "Thats Correct..." To end an If statement, you use the Endif command.
Now There is a command Else, but you shouldn't need it.
so if you were making a type os search program, you could start like this:
Print "What word would you like to search for?"
Input "",Search$
If Search$= "this"
Print "This is a word used to descibe something"
endif
If Search$= "yellow"
Print "Yellow is a color"
endif
If Search$= "hi"
Print "A common greeting"
endif
With Input "",Search$ , it will not print anything, but will just make your input on a different line =)
Hope I helped =P
May0
Who you chose to be around you, lets you know who you are.