Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
2Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
De_Re_BASIC!

De_Re_BASIC!

Ratings: (0)|Views: 355 |Likes:
Published by mydeardog

More info:

Published by: mydeardog on Sep 27, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/27/2011

pdf

text

original

 
Copyright© Paul Laughton, 2011 Page 1 De Re BASIC!
DeReBASIC!
 
Version 1.0
 June 19, 2011
A nostalgic blast from the past.
 
Copyright© Paul Laughton, 2011 Page 2 De Re BASIC!
Table of Contents
About the Title, De Re BASIC! ..................................................................................................................... 10BASIC! Operation ........................................................................................................................................ 10Editor ....................................................................................................................................................... 10Editing the program ............................................................................................................................ 10Menus ................................................................................................................................................. 10Run .......................................................................................................................................................... 12Menu ................................................................................................................................................... 12Command Description Syntax ..................................................................................................................... 13Case ......................................................................................................................................................... 13<nexp> and <sexp> and <lexP> ............................................................................................................... 13<var> and <var$> ................................................................................................................................... 13Array[] and Array$[] ................................................................................................................................ 13{something} ............................................................................................................................................. 13{ A | B |C }For example: .......................................................................................................................... 13X …,X ........................................................................................................................................................ 13{,n …,n} .................................................................................................................................................... 13<statement> ............................................................................................................................................ 13Numbers ...................................................................................................................................................... 13Strings ......................................................................................................................................................... 14Variables ..................................................................................................................................................... 14Variable Names ....................................................................................................................................... 14Variable Types ......................................................................................................................................... 15Scalar and Array Variables ...................................................................................................................... 15Arrays ...................................................................................................................................................... 15Array Commands................................................................................................................................. 15Comments ................................................................................................................................................... 17! – Single Line Comment ......................................................................................................................... 17!! - Block Comment ................................................................................................................................. 17% - Middle of Line Comment .................................................................................................................. 17Expressions.................................................................................................................................................. 17Numeric <nexp> := {<numeric variable>|<numeric constant} {<noperator> <nexp>|<end of line>} .... 17
 
Copyright© Paul Laughton, 2011 Page 3 De Re BASIC!
Numeric Operators <noperator> ........................................................................................................ 17Numeric Expression Examples ............................................................................................................ 18String <sexp> := {<string variable>|<string constant>} {
 
+ <sexp> | <end of line>} ............................... 18Logical <lexp> .......................................................................................................................................... 18Logical Operators ................................................................................................................................ 18Examples of Logical Expressions ......................................................................................................... 19Assignment Operations ............................................................................................................................... 19Math Functions ........................................................................................................................................... 19ABS(<nexp>) ............................................................................................................................................ 19SQR(<nexp>) ........................................................................................................................................... 19RND(<nexp>) ........................................................................................................................................... 20CEIL(<nexp>) ........................................................................................................................................... 20FLOOR(<nexp>) ....................................................................................................................................... 20MOD(<nexp1>, <nexp2>) ........................................................................................................................ 20ROUND(<nexp>) ...................................................................................................................................... 20LOG(<nexp>) ........................................................................................................................................... 20SIN(<nexp>) ............................................................................................................................................. 20COS(<nexp>) ............................................................................................................................................ 20TAN(<nexp>) ........................................................................................................................................... 20TODEGREES(<nexp>) ............................................................................................................................... 20TORADIANS(<nexp>) ............................................................................................................................... 20ASIN(<nexp>) .......................................................................................................................................... 20ACOS(<nexp>) ......................................................................................................................................... 21ATAN(<nexp>) ......................................................................................................................................... 21VAL( <sexp> ) ........................................................................................................................................... 21LEN(<sexp>) ............................................................................................................................................ 21EQUALS(<sexp1>, <sexp2>) .................................................................................................................... 21String Functions .......................................................................................................................................... 21CHR (<nexp> ............................................................................................................................................ 21LEFT (<sexp>, <nexp>) ............................................................................................................................. 21MID$(<sexp>, <start_nexp>, <Count_nexp>}) ........................................................................................ 21RIGHT$(<sexp>, <nexp>) ......................................................................................................................... 22

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->