Most recent edit on 2011-08-02 10:28:13 by ARoederer Version 0.10
Additions:
Version: 0.10
(c) 2009 - 2011 by Wolfgang Draxler
Deletions:
Version: 0.8
(c) 2009 - 2010 by Wolfgang Draxler
Edited on 2010-01-30 21:50:15 by ARoederer Version 0.8 (Jan. 28. 2010)
Additions:
LoadBin
Deletions:
LoadBin?
Edited on 2010-01-30 21:46:57 by ARoederer
Additions:
(c) 2009 - 2010 by Wolfgang Draxler
Variables can be declared from "a" to "z"
Strings are denoting by "$"
Basic math.:+, -, *, /, mod, and, or, xor
See also:
Stop
Break
UnBreak?
The program cannot continue. The values of the variables are not cleared.
See also:
FileDelete
FileMove
See also:
FileCopy
FileMove
See also:
FileCopy
FileDelete
See also:
Next
On...Goto
Gosub
Goto
On...Goto
See also:
Save
See also:
SaveBin
For
Goto
Gosub
Input
Rnd
Gosub
The default is the first line of the program.
See also:
Load
See also:
LoadBin?
The values of the variables are not cleared.
See also:
Continue
Break
UnBreak
Parameters:
FG ... Fordergroundcolor
BG ... Backgroundcolor
See also:
UnTrace
See also:
Continue
Stop
UnBreak
Trace
Description:
Parameter: Value ... Number
Return: String
Return: String
Parameter: Value ... String
Return: String
Parameter: None
Return: 3.141592654
Return: String
Parameter: No
Parameter: None
Parameter: None
Return:
Description:
Parameter: Value ... Number
Return: String
Parameter: String
Return: Number
Deletions:
WDBasic
From Wolfgang Draxler @2009
Version: 0.6 Beta
Variable can be declare from “a” to “z”
Strings are denoting by “$”
Basic math.: +, -, *, /, mod, and, or, xor
Return the arcus sinus from the parameter value.
Edited on 2009-11-11 23:13:48 by ARoederer
Additions:
Version: 0.6 Beta
Deletions:
Version: 0.4 Beta
Edited on 2009-10-11 23:39:28 by ARoederer
Additions:
Deletions:
Edited on 2009-10-11 23:36:43 by ARoederer
Additions:
See Statement “Gosub”.
Deletions:
See Statement “GoSub?”.
Edited on 2009-10-11 23:35:57 by ARoederer
Additions:
Deletions:
Edited on 2009-10-11 23:34:59 by ARoederer
Additions:
Deletions:
Oldest known version of this page was edited on 2009-10-11 23:34:20 by ARoederer [ Neu erstellt ]
WDBasic From Wolfgang Draxler @2009
Version: 0.4 Beta
The maximum length for a String is limited to 255 characters.
Basic math.: +, -, *, /, mod, and, or, xor
The keyword “let” is optional
With seconds the program will wait the seconds.
Look the function “Rnd”
Return: Number
Return the absolute Value from the parameter value.
Return: Number
Return the arcus cosine from the parameter value.
Return: Number
Return the arcus hyp cosine from the parameter value.
Return: Number
Return the arcus sinus from the parameter value.
Return: Number
Return the arcus hyp sinus from the parameter value.
Return: Number
Return the arcus tangents from the parameter value.
Return: Number
Return the arcus hyp tangents from the parameter value.
Parameter: Value … Number
Return: Number
Return the cosine from the parameter value.
Return: Number
Return the hyp cosine from the parameter value.
Return: Number
Return the sinus from the parameter value.
Return: Number
Return the hyp sinus from the parameter value.
Return: Number
Return the tangents from the parameter value.
Return: Number
Return the hyp tangents from the parameter value.
Additions:
Version: 0.10
(c) 2009 - 2011 by Wolfgang Draxler
Deletions:
Version: 0.8
(c) 2009 - 2010 by Wolfgang Draxler
Edited on 2010-01-30 21:50:15 by ARoederer Version 0.8 (Jan. 28. 2010)
Additions:
LoadBin
ScrCurPos (y,x)
Deletions:
LoadBin?
ScrCurPos? (y,x)
Description: Return the arcus hyp cosine from the parameter value.Edited on 2010-01-30 21:46:57 by ARoederer
Additions:
WDBasic Online-Help
Version: 0.8(c) 2009 - 2010 by Wolfgang Draxler
Variables can be declared from "a" to "z"
Strings are denoting by "$"
Basic math.:+, -, *, /, mod, and, or, xor
Bye
Break <Line>
Continue
The broken program will be continue.See also:
Stop
Break
UnBreak?
End
The running program will be ended.The program cannot continue. The values of the variables are not cleared.
FileCopy "<src-filename>" "<dest-filename>"
Copy the Src-Filename to the Dest-FilenameSee also:
FileDelete
FileMove
FileDelete "<filename>"
Delete the FilenameSee also:
FileCopy
FileMove
FileMove "<src-filename>" "<dest-filename>"
Move the Src-Filename to the Dest-FilenameSee also:
FileCopy
FileDelete
For <variable>=<expr> to <expr> step <expr>
Loops from the start value to the end value by the next statements of the Statement "Next".See also:
Next
Goto <line>
See also:On...Goto
Gosub
Gosub <line>
See also:Goto
On...Goto
Help
If [expr] then [statement]
The expression/condition is 0 then the statement after "then" will be exectuted.Info
Input <variable>[, < variable >[,...]]
[Let] <variable>=<expr>
The keyword "let" is optionalList [<Startline> [, <Endline>]]
Load "<Filename[.bas]>"
Load a program from the operating system with the extension ".bas"See also:
Save
LoadBin "<Filename[.wdbb]>"
Load a basic-binary-program from the operating system with the extension ".wdbb"See also:
SaveBin
New
Clear the programs and the variable.Next
See also:For
On <integer> Goto line [, line [, line [, ...]]]
See also:Goto
Gosub
Pause [seconds]
Without the second expression, the program waits until any key is pressed.Print <expr>[, <expr>[,...]] [;]
See also:Input
Randomize
See also:Rnd
Rem <text>
Return
See also:Gosub
Run [Line]
The program is started with the given line.The default is the first line of the program.
Save "<Filename[.bas]>"
Save the program into the operation system with the extension ".bas"See also:
Load
SaveBin "<Filename[.wdbb]>"
Save the basic-binary-program into the operation system with the extension ".wdbb"See also:
LoadBin?
Stop
The running program is stopped. It can be continued with the statement "Continue".The values of the variables are not cleared.
See also:
Continue
Break
UnBreak
ScrClear
Clear the Screen-WindowScrColor (<FG>,<BG>)
Set the color of the text.Parameters:
FG ... Fordergroundcolor
BG ... Backgroundcolor
| Colorvalue | Color |
| 0 | black |
| 1 | blue |
| 2 | green |
| 3 | cyan |
| 4 | red |
| 5 | mangenta |
| 6 | brown |
| 7 | light gray |
| 8 | dark gray |
| 9 | light blue |
| 10 | light green |
| 11 | light cyan |
| 12 | light red |
| 13 | light magenta |
| 14 | yellow |
| 15 | white |
ScrCurPos? (y,x)
Set the position of the text-cursorTrace
When the program is started, all executed lines are displayed.See also:
UnTrace
Unbreak <Line>
Delete the breakpoint on the given linesSee also:
Continue
Stop
UnBreak
Untrace
See also:Trace
Functions
Abs(<Value>)
Parameter: Value ... NumberACos(<Value>)
Parameter: Value ... NumberACosH(<Value>)
Parameter: Value ... NumberAsc
Parameter: Value ... StringDescription:
ASin(<Value>)
Description: Return the arcus hyp cosine from the parameter value.Parameter: Value ... Number
ASinH(<Value>)
Parameter: Value ... NumberATan(<Value>)
Parameter: Value ... NumberATanH(<Value>)
Parameter: Value ... NumberChr$
Parameter: Value ... NumberReturn: String
Cos(<Value>)
Parameter: Value ... NumberCosH(<Value>)
Parameter: Value ... NumberExp
Parameter:Frac
Parameter:Int
Parameter:Left$
Parameter:Return: String
Len
Get the of StringParameter: Value ... String
Ln
Parameter:Log
Parameter:Mid$
Parameter:Return: String
Pi
Get the PI-ConstantParameter: None
Return: 3.141592654
Pos
Parameter:Right$(<Value>)
Parameter:Return: String
Rnd
Get a random numberParameter: No
Round
Parameter:ScrCurPosX
Get the X-Position of the Text-Cursor.Parameter: None
ScrCurPosY
Get the Y-Position of the Text-Cursor.Parameter: None
Sgn(<Value>)
Parameter:Sin(<Value>)
Parameter: Value ... NumberSinh(<Value>)
Parameter: Value ... NumberSqr(<Value>)
Parameter:Return:
Description:
Str$(<Value>)
Convert the number a stringParameter: Value ... Number
Return: String
Tan(<Value>)
Parameter: Value ... NumberTanH(<Value>)
Parameter: Value ... NumberVal
Return the number value of the stringParameter: String
Return: Number
Deletions:
WDBasic
From Wolfgang Draxler @2009
Version: 0.6 Beta
Variable can be declare from “a” to “z”
Strings are denoting by “$”
Basic math.: +, -, *, /, mod, and, or, xor
Statement: Bye
Statement: Break <Line>
Statement: Continue
The broken program will be continueStatement: Delete
Delete a file from the operating systemStatement: End
The running program will be ended. The program cannot continue. The values of the variables are not cleared.Statement: For <variable>=<expr> to <expr> step <expr>
Loops from the start value to the end value the next statements to the Statement “Next”.Statement: Goto <line>
Statement: Gosub <line>
Statement: Help
Statement: If [expr] then [statement]
The expression/condition is 0 then the statement after “then” will be exectute.Statement: Info
Statement: Input <variable>[, < variable >[,…]]
Statement: [Let] <variable>=<expr>
The keyword “let” is optionalStatement: List [<Startline> [, <Endline>]]
Statement: Load
Load a program from the operating system with the extension “.bas”Statement: New
Clear the programs and the variable. The program is stoppedStatement: Next
Look the Statement “For”.Statement: On <integer> Goto line [, line [, line [, ..]]]
Statement: Pause [seconds]
Without the secondexpress the program wait until a key was pressed.Statement: Print <expr>[, < expr >[,…]] [;]
Statement: Randomize
Look the function “Rnd”Statement: Rem <text>
Statement: Return
See Statement “Gosub”.Statement: Run [Line]
The program started on the given line. The default is the first line of the program.Statement: Save
Save the program into the operation system with the extension “.bas”Statement: Stop
The running program are stopped and can be continued with the statement “Continue”. The values of the variables are not cleared.Statement: Trace
When the program start with “run” the executed lines are displayed.Statement: Unbreak <Line>
Cleared the breakpoint on the given linesStatement: Untrace
Functions
Function: Abs(<Value>)
Parameter: Value … NumberFunction: ACos(<Value>)
Parameter: Value … NumberFunction: ACosH(<Value>)
Parameter: Value … NumberFunction: Asc
Function: ASin(<Value>)
Parameter: Value … NumberReturn the arcus sinus from the parameter value.
Function: ASinH(<Value>)
Parameter: Value … NumberFunction: ATan(<Value>)
Parameter: Value … NumberFunction: ATanH(<Value>)
Parameter: Value … NumberFunction: Chr$
Function: Cos(<Value>)
Parameter: Value … NumberFunction: CosH(<Value>)
Parameter: Value … NumberFunction: Exp
Function: Frac
Function: Int
Function: Left$
Function: Len
Function: Ln
Function: Log
Function: Mid$
Function: Pi
Function: Pos
Function: Right$
Function: Rnd
Function: Round
Function: Sgn
Function: Sin(<Value>)
Parameter: Value … NumberFunction: Sinh(<Value>)
Parameter: Value … NumberFunction: Sqr
Function: Str$
Function: Tan(<Value>)
Parameter: Value … NumberFunction: Tanh(<Value>)
Parameter: Value … NumberFunction: Val
Edited on 2009-11-11 23:13:48 by ARoederer
Additions:
Version: 0.6 Beta
Deletions:
Version: 0.4 Beta
Edited on 2009-10-11 23:39:28 by ARoederer
Additions:
Function: ASinH(<Value>)
Deletions:
Function: ASinH?(<Value>)
Edited on 2009-10-11 23:36:43 by ARoederer
Additions:
See Statement “Gosub”.
Deletions:
See Statement “GoSub?”.
Edited on 2009-10-11 23:35:57 by ARoederer
Additions:
Function: ACosH(<Value>)
Function: ATanH(<Value>)
Deletions:
Function: ACosH?(<Value>)
Function: ATanH?(<Value>)
Edited on 2009-10-11 23:34:59 by ARoederer
Additions:
Function: CosH(<Value>)
Deletions:
Function: CosH?(<Value>)
Oldest known version of this page was edited on 2009-10-11 23:34:20 by ARoederer [ Neu erstellt ]
WDBasic From Wolfgang Draxler @2009
Version: 0.4 Beta
Variables
Variable can be declare from “a” to “z”Numbers
Numbers has no denoted and can have digits.Strings
Strings are denoting by “$”The maximum length for a String is limited to 255 characters.
Operators
Comparision: <, >, =, <>, <=, >=Basic math.: +, -, *, /, mod, and, or, xor
Statements
Statement: Bye
Exit the WDBadic-Program, and returned to the Operating System.Statement: Break <Line>
Set a breakpoint on the given line.Statement: Continue
The broken program will be continueStatement: Delete
Delete a file from the operating systemStatement: End
The running program will be ended. The program cannot continue. The values of the variables are not cleared.Statement: For <variable>=<expr> to <expr> step <expr>
Loops from the start value to the end value the next statements to the Statement “Next”.Statement: Goto <line>
The program goes to the specified line.Statement: Gosub <line>
The program goes to the specified sub.Statement: Help
Show this help.Statement: If [expr] then [statement]
The expression/condition is 0 then the statement after “then” will be exectute.Statement: Info
Show any information about WDBasic.Statement: Input <variable>[, < variable >[,…]]
Reads one or more values and write it into the variable(s) from the user.Statement: [Let] <variable>=<expr>
Calculate the expression and write the value into the variable.The keyword “let” is optional
Statement: List [<Startline> [, <Endline>]]
List the program between the given lines. By the default all lines are displayedStatement: Load
Load a program from the operating system with the extension “.bas”Statement: New
Clear the programs and the variable. The program is stoppedStatement: Next
Look the Statement “For”.Statement: On <integer> Goto line [, line [, line [, ..]]]
The program jumps to the specified line.Statement: Pause [seconds]
Without the secondexpress the program wait until a key was pressed.With seconds the program will wait the seconds.
Statement: Print <expr>[, < expr >[,…]] [;]
Prints the expressionsStatement: Randomize
Start the RandomLook the function “Rnd”
Statement: Rem <text>
The entire text will be ignoredStatement: Return
See Statement “GoSub?”.Statement: Run [Line]
The program started on the given line. The default is the first line of the program.Statement: Save
Save the program into the operation system with the extension “.bas”Statement: Stop
The running program are stopped and can be continued with the statement “Continue”. The values of the variables are not cleared.Statement: Trace
When the program start with “run” the executed lines are displayed.Statement: Unbreak <Line>
Cleared the breakpoint on the given linesStatement: Untrace
Stop the tracing.Functions
Function: Abs(<Value>)
Parameter: Value … NumberReturn: Number
Return the absolute Value from the parameter value.
Function: ACos(<Value>)
Parameter: Value … NumberReturn: Number
Return the arcus cosine from the parameter value.
Function: ACosH?(<Value>)
Parameter: Value … NumberReturn: Number
Return the arcus hyp cosine from the parameter value.
Function: Asc
Function: ASin(<Value>)
Parameter: Value … NumberReturn: Number
Return the arcus sinus from the parameter value.
Function: ASinH?(<Value>)
Parameter: Value … NumberReturn: Number
Return the arcus hyp sinus from the parameter value.
Function: ATan(<Value>)
Parameter: Value … NumberReturn: Number
Return the arcus tangents from the parameter value.
Function: ATanH?(<Value>)
Parameter: Value … NumberReturn: Number
Return the arcus hyp tangents from the parameter value.
Function: Chr$
Function: Cos(<Value>)
Parameter: Value … Number
Return: Number
Return the cosine from the parameter value.
Function: CosH?(<Value>)
Parameter: Value … NumberReturn: Number
Return the hyp cosine from the parameter value.
Function: Exp
Function: Frac
Function: Int
Function: Left$
Function: Len
Function: Ln
Function: Log
Function: Mid$
Function: Pi
Function: Pos
Function: Right$
Function: Rnd
Function: Round
Function: Sgn
Function: Sin(<Value>)
Parameter: Value … NumberReturn: Number
Return the sinus from the parameter value.
Function: Sinh(<Value>)
Parameter: Value … NumberReturn: Number
Return the hyp sinus from the parameter value.
Function: Sqr
Function: Str$
Function: Tan(<Value>)
Parameter: Value … NumberReturn: Number
Return the tangents from the parameter value.
Function: Tanh(<Value>)
Parameter: Value … NumberReturn: Number
Return the hyp tangents from the parameter value.
Last Editor :
Owner :