Script BASIC Command and Function Reference

Script BASIC Command and Function Reference

Script BASIC Command and Function Reference Peter Verhas Version: November 27, 2014 This page intentionally left blank ScriptBasic Command and Function Reference Contents List of Commands by Sections .......................................................................................... 1 array .................................................................................................................................. 1 error................................................................................................................................... 1 errord................................................................................................................................. 1 file...................................................................................................................................... 1 loop ................................................................................................................................... 1 math .................................................................................................................................. 2 misc................................................................................................................................... 2 pattern ............................................................................................................................... 2 planned ............................................................................................................................. 3 process.............................................................................................................................. 3 string ................................................................................................................................. 3 test .................................................................................................................................... 4 time ................................................................................................................................... 4 Commands ....................................................................................................................... 5 ABS ................................................................................................................................... 5 ACOS ................................................................................................................................ 5 ACOSECANT.................................................................................................................... 5 ACTAN .............................................................................................................................. 5 ADDDAY ........................................................................................................................... 6 ADDHOUR ........................................................................................................................ 6 ADDMINUTE..................................................................................................................... 6 ADDMONTH ..................................................................................................................... 7 ADDRESS( myFunc() ) ..................................................................................................... 7 ADDSECOND ................................................................................................................... 8 ADDWEEK ........................................................................................................................ 8 ADDYEAR......................................................................................................................... 8 ASC(string)........................................................................................................................ 9 ASECANT ......................................................................................................................... 9 ASIN.................................................................................................................................. 9 ATAN................................................................................................................................. 9 ATN ................................................................................................................................. 10 BIN .................................................................................................................................. 10 BINMODE [ # fn ] | input | output .................................................................................... 10 CALL subroutine ............................................................................................................. 10 CHDIR directory.............................................................................................................. 11 CHOMP() ........................................................................................................................ 11 CHR(code) ...................................................................................................................... 11 CINT................................................................................................................................ 12 CLOSE [ # ] fn ................................................................................................................. 12 CLOSE DIRECTORY [#] dn............................................................................................ 12 COMMAND()................................................................................................................... 13 Concatenate operator &.................................................................................................. 13 CONF("conf.key")............................................................................................................ 13 COS ................................................................................................................................ 14 i ScriptBasic Command and Function Reference COSECANT .................................................................................................................... 15 COTAN............................................................................................................................ 15 COTAN2.......................................................................................................................... 15 CRYPT(string,salt) .......................................................................................................... 15 CURDIR()........................................................................................................................ 15 CVD................................................................................................................................. 15 CVI .................................................................................................................................. 16 CVL ................................................................................................................................. 16 CVS................................................................................................................................. 16 DAY................................................................................................................................. 16 DECLARE COMMAND function ALIAS cfun LIB library................................................. 17 DECLARE SUB function ALIAS cfun LIB library............................................................. 17 DELETE file/directory_name........................................................................................... 18 DELTREE file/directory_name ........................................................................................ 19 DO................................................................................................................................... 19 DO UNTIL condition........................................................................................................ 20 DO WHILE condition....................................................................................................... 21 END................................................................................................................................. 21 ENVIRON("envsymbol") or ENVIRON(n) ....................................................................... 21 EOD(dn) .......................................................................................................................... 23 EOF(n) ............................................................................................................................ 23 ERROR() or ERROR n ................................................................................................... 23 ERROR$() or ERROR$(n) .............................................................................................. 24 EVEN .............................................................................................................................. 24 EXECUTE("executable_program", time_out,pid_v) ........................................................ 24 EXIT FUNCTION............................................................................................................. 25 EXIT SUB.......................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    110 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us