Script BASIC Command and Function Reference

Total Page:16

File Type:pdf, Size:1020Kb

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.......................................................................................................................
Recommended publications
  • [Catalog Epub PDF] Scriptbasic Manual
    Scriptbasic Manual Download Scriptbasic Manual These numbers, strings etc are known as data types.In fact, VBScript has only one data type called Variant. A variant is a special kind of data type which can hold different kinds of information. The value of 0 disables the history feature. For more information, read the user manuals for the GNU readline, history and BSD libedit libraries. One can not enable both readline and libedit at the same time. GNU bc and Other Implementations There are many tutorials available for AutoIt. This page is an overview of a few known tutorials. More tutorials can possibly be found and will be added to this page in time. I did all I could to help you, short of actually looking at the internals of ScriptBasic and running it. I pointed at what was my best guess at the source of the issue (treating v7_val_t as a long , which is incorrect and indeed breaks 32-bit archs) and asked for stack traces which you didn't provide. SOPEN now works as described in the manual. I was able to read and write data to my usb to i2c interface which I was using to display time (hours and minutes) on a adafruit 7 segment LED and read a DS1621 thermometer and display it on a SAA1064 4 by 7 segment LED a very old Elektor magazine project. ScriptBasic (Win32 and GNU-Linux) - a scripting language variant of BASIC. Released under the Lesser General Public License aka LGPL; sdlBasic free multiplatform BASIC. Based on the core of wxBasic, but uses the SDL library.
    [Show full text]
  • Deep Scrutiny of Compilers in Industry with Estimating on Conglomerate Factors
    JOURNAL OF CRITICAL REVIEWS ISSN- 2394-5125 VOL 7, ISSUE 11, 2020 Deep scrutiny of compilers in industry with estimating on conglomerate factors Dr Sandeep Kulkarni 1, Prof(Dr) K P Yadav 2 1,2Sangum University, Bilwara, Rajasthan [email protected], [email protected] Received: 05 May 2020 Revised: and Accepted: 15 July 2020 ABSTRACT: As to understand the basic knowledge of compilers , various types of compilers in the programming world ,we will study in detail the compilers available in various languages. As we are going to study their compilers working usage for which they have used in various companies in software industries. M- DOS with Microsoft windows uses Borland C++ compilers with the help of any C and C++Integrated development environment tool. As it is advance version when compared to Turbo C++ it known for good performance in debugging purpose so for this Turbo debugger and this software is written mode of DOS which is protected.There are set of library which is helpful for building graphical windows projects known as Object windows library . With the C++ program DOS applications is created. Applications such as pop up boxes, application top menus, dialog boxes for this turbo vision is used. Applications presenting in 2 dimensional drawing. Borland graphics libraries CGA and VGA , it also supports third party supporting classes and also video libraries. Industries supporting or developing these kind of applications are GSN Consulting, Einfochips Limited. So will have detailed study on programming language used in industry on compiler based performances. KEYWORDS: Deep scrutiny of compilers in industry with estimating on conglomerate factors I.
    [Show full text]
  • Everything Curl Megapack
    Table of Contents Introduction 1.1 How to read this book 1.2 The cURL project 1.3 How it started 1.3.1 The name 1.3.2 What does curl do? 1.3.3 Project communication 1.3.4 Mailing list etiquette 1.3.5 Mailing lists 1.3.6 Reporting bugs 1.3.7 Releases 1.3.8 Security 1.3.9 Trust 1.3.10 The development team 1.3.11 Users of curl 1.3.12 Future 1.3.13 Get curl 1.4 Linux 1.4.1 Windows 1.4.2 macOS 1.4.3 Open Source 1.5 License 1.5.1 Copyright and Legal 1.5.2 Code of Conduct 1.5.3 Development 1.5.4 The source code 1.6 Code layout 1.6.1 Handling build options 1.6.2 Code style 1.6.3 Contributing 1.6.4 2 Reporting vulnerabilities 1.6.5 Web site 1.6.6 Building and installing 1.6.7 Build from source 1.6.7.1 Dependencies 1.6.7.2 TLS libraries 1.6.7.3 BoringSSL 1.6.7.3.1 Network and protocols 1.7 Networking simplified 1.7.1 Protocols 1.7.2 curl protocols 1.7.3 Command line basics 1.8 Command line options 1.8.1 Options depend on version 1.8.2 URLs 1.8.3 URL globbing 1.8.4 List options 1.8.5 Config file 1.8.6 Passwords 1.8.7 Progress meter 1.8.8 Using curl 1.9 Verbose 1.9.1 Trace options 1.9.1.1 Write out 1.9.1.2 Persistent connections 1.9.2 Downloads 1.9.3 Uploads 1.9.4 Connections 1.9.5 Timeouts 1.9.6 .netrc 1.9.7 Proxies 1.9.8 Exit status 1.9.9 FTP 1.9.10 Two connections 1.9.10.1 3 Directory traversing 1.9.10.2 Advanced FTP use 1.9.10.3 SCP and SFTP 1.9.11 IMAP and POP3 1.9.12 SMTP 1.9.13 TELNET 1.9.14 TLS 1.9.15 SSLKEYLOGFILE 1.9.15.1 Copy as curl 1.9.16 How to HTTP with curl 1.10 Protocol basics 1.10.1 Responses 1.10.2 Authentication 1.10.3 Ranges
    [Show full text]
  • Sure Cross DXM150-Bx Wireless Controller Instruction Manual
    Sure Cross® DXM150-Bx Wireless Controller Instruction Manual Original Instructions 190038 Rev. C 7 September 2018 © Banner Engineering Corp. All rights reserved 190038 Sure Cross® DXM150-Bx Wireless Controller Contents 1 DXM Overview ......................................................................................................................................................... 5 1.1 DXM Automation Protocols ................................................................................................................................................5 1.2 DXM Modbus Overview ......................................................................................................................................................5 1.3 DXM Configuration Tool Overview ..................................................................................................................................... 6 2 DXM Controller ........................................................................................................................................................ 7 2.1 DXM Hardware Configuration Overview ............................................................................................................................ 7 3 ISM Radio Board ..................................................................................................................................................... 8 3.1 ISM Radio Board (Modbus Slave ID 1) ..............................................................................................................................8
    [Show full text]
  • Scriptbasic Development Auxilliarry Files
    ScriptBasic development auxilliarry files Peter Verhas i Short Contents 1 Introduction................................... 1 2 Directory Structure .............................. 3 3 BASIC programs ............................... 5 4 Batch (.CMD) files .............................. 7 5 C source files ................................. 11 6 Configuration files .............................. 13 7 Definition files ................................ 15 8 Perl files .................................... 17 9 UNIX Shell scripts ............................. 21 ii ScriptBasic development auxilliarry files iii Table of Contents 1 Introduction............................... 1 2 Directory Structure ........................ 3 3 BASIC programs .......................... 5 3.1 heber.bas ............................................... 5 3.2 newbuild.bas Start a new build ........................... 5 3.3 cbbfc.bas Convert Basic Binary Format Command ......... 5 4 Batch (.CMD) files ........................ 7 4.1 mkdoc.cmd ............................................. 7 4.2 mkcdoc.cmd ............................................ 7 4.3 install.cmd.............................................. 7 4.4 makerrs.cmd ............................................ 7 4.5 mkweb.cmd ............................................. 7 4.6 mksyntax.cmd .......................................... 7 4.7 precompile.cmd ......................................... 8 4.8 pack.cmd ............................................... 8 4.9 mksamples.cms.......................................... 8 4.10
    [Show full text]
  • File Types Recognized in Cloudnine LAW™ Cloudnine Explore™
    File Types Recognized In CloudNine LAW™ CloudNine Explore™ Disclaimer Although we make every effort to be accurate, this information is provided “as is” without any express warranties or guarantees. File Types Recognized ID Description File Extensions Extract Extract Can Is a Metadata Content OCR? Container? 1 Disk Directory 2 Disk Volume Label 3 Text File TXT, DOC, INI, INF, Y ASC, TEXT 4 Graphics Interchange Format GIF, GIFF Y 5 MS Windows Bitmap BMP, DIB, SYS, RLE, Y BIN, VGA, RLn 6 Amiga Interchange File Format LBM, IFF, ILM, BBM, Image ILBM, BLK 7 MS Paint Bitmap MSP 8 AutoDesk Animator Flic FLI, FLC, FII 9 GEM VDI Paint Image IMG, GEM 10 PC Paint/Pictor Page Image PIC, PICTOR, CLP 11 PC Paintbrush Bitmap PCX, PCC Y 12 PKZip Archive ZIP, JAR, WMZ Y 13 MacBinary (Mac Data + Resource MAC Fork) 14 Creative Voice Sound VOC 15 DOS Program EXE, COM, SYS, OVL 16 Amiga SoundTracker Music MOD, NST 17 Macintosh Sound + Resource SND, HCO Fork (MacBinary) 18 MS Windows Prefetch Cache PF 19 Targa Bitmap Image TGA, VDA, I?B, VST, Y TARGA, PIX, BPX, IVB 20 PK Pak Archive ARC, PAK 21 Arj Archive ARJ, A??, DSK 22 DOS Batch File BAT, CMD Y 23 Ad-Lib Composer Music ROL 24 FerretSoft Cache Index 25 Amiga IFF/8SVX Sound SND, IFF, LBM, 8SV, SVX, 8SVX 26 AutoCAD Drawing DWG, DWT 27 Program Overlay OVL, OVR, DVR, DRV, OVn, RSR 28 BASIC Script/Source Code BAS, CSC, VBS Y 29 CMS Organ Music ORG 30 DOS Program (Tiny) COM, BIN, SYS Y 31 Arts & Letters Editor Document GED 32 Crayola Art Image IMP 33 Crayola Image ART 34 Novell Message File MSG, DAT January 10,
    [Show full text]
  • United States Patent (1O) Patent No.: US 7,668,796 B2 Hinchey Et Al
    mu uuuu ui iiui iiui mu iuu lull uui mu uui iuui uu uii mi (12) United States Patent (1o) Patent No.: US 7,668,796 B2 Hinchey et al. (45) Date of Patent: Feb. 23, 2010 (54) AUTOMATA LEARNING ALGORITHMS AND (51) Int. Cl. PROCESSES FOR PROVIDING MORE G06N 5102 (2006.01) COMPLETE SYSTEMS REQUIREMENTS G06N 3108 (2006.01) SPECIFICATION BY SCENARIO (52) U.S. Cl . ......................................... 706/48; 717/100 GENERATION, CSP-BASED (58) Field of Classification Search .................... 706/48 SYNTAX-ORIENTED MODEL See application file for complete search history. CONSTRUCTION, AND R2D2C SYSTEM (56) References Cited REQUIREMENTS TRANSFORMATION OTHER PUBLICATIONS (75) Inventors: Michael G. Hinchey, Bowie, MD (US); Pdschel et al., "Spiral: A Generator for Platform-Adapted Libraries Tiziana Margaria, Dortmund (DE); of Signal Processing Alogorithms", 2004.* James L. Rash, Davidsonville, MD (US); Christopher A. Rouff, Beltsville, * cited by examiner MD (US); Bernard Steffen, Dortmund Primary Examiner David R Vincent (DE) Assistant Examiner Nathan H Brown, Jr. (74) Attorney, Agent, or Firm Heather Goo (73) Assignee: The United States of America as represented by the Administrator of (57) ABSTRACT the National Aeronautics and Space Administration, Washington, DC (US) Systems, methods and apparatus are provided through which in some embodiments, automata learning algorithms and (*) Notice: Subject to any disclaimer, the term of this techniques are implemented to generate a more complete set patent is extended or adjusted under 35 of scenarios for requirements based programming. More spe- U.S.C. 154(b) by 337 days. cifically, a CSP-based, syntax-oriented model construction, which requires the support of a theorem prover, is comple- (21) Appl.
    [Show full text]
  • Expression Enhancing Intron Sequences
    (19) & (11) EP 2 166 099 A2 (12) EUROPEAN PATENT APPLICATION (43) Date of publication: (51) Int Cl.: 24.03.2010 Bulletin 2010/12 C12N 15/82 (2006.01) (21) Application number: 09176168.4 (22) Date of filing: 07.03.2006 (84) Designated Contracting States: • Dammann, Christian AT BE BG CH CY CZ DE DK EE ES FI FR GB GR Durham, NC 27705 (US) HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI • Morra, Marc SK TR Bronx, NY 10461 (US) • Brown, Jeffrey A. (30) Priority: 08.03.2005 US 659482 P Apex, NC 27502 (US) • Xing, Liqun (62) Document number(s) of the earlier application(s) in Chapel Hill, NC 27516 (US) accordance with Art. 76 EPC: • Jia, Hongmei 08168818.6 / 2 045 327 Apex, NC 27523 (US) 06708664.5 / 1 859 037 (74) Representative: Popp, Andreas (27) Previously filed application: BASF SE 07.03.2006 EP 08168818 GVX/B Carl-Bosch-Str. 38 (71) Applicant: BASF Plant Science GmbH 67056 Ludwigshafen (DE) 67056 Ludwigshafen (DE) Remarks: (72) Inventors: This application was filed on 17-11-2009 as a • Song, Hee-Sook divisional application to the application mentioned Raleigh, NC 27606 (US) under INID code 62. (54) Expression enhancing intron sequences (57) The invention relates to methods for the identi- fication and use of introns with gene expression enhanc- ing properties. The teaching of this invention enables the identification of introns causing intron-mediated en- hancement (IME) of gene expression. The invention fur- thermore relates to recombinant expression construct and vectors comprising said IME-introns operably linked with a promoter sequence and a nucleic acid sequence.
    [Show full text]
  • Curl Uses Libcurl
    curlcurl -- aa hobbyhobby projectproject thatthat conqueredconquered thethe worldworld @bagder Dear Daniel, I had emailed you a couple months ago @bagder @bagder Since you weren't aware that your name was attached to Instagram related hacking code, I thought you might want to know, in case you weren't already aware, that your name is also included in Spotify terms and conditions. @bagder @bagder these are big companies that you likely don't want to have a trail of evidence that you are a part of @bagder an Instagram and Spotify hacking ring Daniel Stenberg @bagder Daniel Stenberg @bagder @bagder An open source project that makes a command line tool and a library for transferring data using Internet protocols @bagder Once upon the time... @bagder nothing @bagder @bagder …… whilewhile II waswas writingwriting thisthis IRCIRC bot...bot... @bagder Let’s put it online! @bagder … became curl 1998 HTTPHTTP GopherGopher "TP"TP @bagder December #$$% @bagder … and time passed... 180000 160000 140000 120000 100000 80000 60000 40000 20000 0 2000 2019 Number of lines of code @bagder … and time passed... 2000 1800 1600 1400 1200 1000 800 600 400 200 0 2005 2019 Number of contributors @bagder … and time passed... 250 200 150 100 50 2004 2019 0 Number of command line options @bagder 2019 DI!"# $ L%# $"&# $"&'# Gopher# )""&# )""&'# *+&# *+&'# LD+&# LD+&'# &O&,# &O&,'# -"*&# -"*&'# -"'&# '!&# '$"&# '*.# '*.'# '*"&# '*"&'# "elnet and "$"& "LS certificates# )""& &O'"# )""& &0"# $"& uploading# )""& form based upload# )""&1)""&'1'O!2' pro34# coo5ies# authentication
    [Show full text]
  • Complete List of ALL File Extensions and Information - Botcrawl
    Complete List of ALL File Extensions and Information - Botcrawl Extension Information A Image Alchemy File (Handmade Software, Inc.) A Unknown Apple II File (found on Golden Orchard Apple II CD Rom) A ADA Program A Free Pascal Archive File for Linux or DOS Version (FPC Development Team) a UNIX Static Object Code Library A Assembly Source Code (Macintosh) A00 Archive Section A01 ARJ Multi-volume Compressed Archive (can be 01 to 99) (also see .000) (can be 01 to 99) (also see .000) A01 OzWin CompuServe E-mail/Forum Access SYSOP File A01 Archive Section A02 Archive Section A02 OzWin CompuServe E-mail/Forum Access SYSOP File A03 Archive Section A03 annotare ava 04 Project File (annotare.net) A03 OzWin CompuServe E-mail/Forum Access SYSOP File A04 OzWin CompuServe E-mail/Forum Access SYSOP File A04 Archive Section A05 OzWin CompuServe E-mail/Forum Access SYSOP File A05 Archive Section A06 OzWin CompuServe E-mail/Forum Access SYSOP File A06 Archive Section A06 Lotto Pro 2002 Smart Number Ticket A07 OzWin CompuServe E-mail/Forum Access SYSOP File A07 Archive Section A07 TaxCalc Tax File (Acorah Software Products Ltd.) A08 OzWin CompuServe E-mail/Forum Access SYSOP File A08 Archive Section A09 OzWin CompuServe E-mail/Forum Access SYSOP File A09 Archive Section A1 Free Pascal Archive File for GO321v1 Platform (FPC Development Team) A1 Unknown Apple II File (found on Golden Orchard Apple II CD Rom) A10 OzWin CompuServe E-mail/Forum Access SYSOP File A11 AOL Instant Messenger (AIM) Graphic (America Online, Inc.) A2 Unknown Apple II File (found on
    [Show full text]
  • Scriptbasic Users Guide
    ScriptBasic Users Guide Peter Verhas Copyright °c 1999-2001 Peter Verhas Published by peter.verhas.com i Short Contents 1 Introduction................................... 1 2 Using ScriptBasic ............................... 3 3 Installation Instructions .......................... 11 4 Code caching ................................. 21 5 Compiling BASIC programs ....................... 23 6 Compiling BASIC program to EXE .................. 27 7 Compiling BASIC programs to C.................... 29 8 Compiling ScriptBasic with modules ................. 31 9 General Language Format ........................ 33 10 Interacting with the user ......................... 67 11 Name spaces .................................. 69 12 File Handling ................................. 73 13 Networking................................... 89 14 String handling commands ........................ 91 15 Conditional Execution ........................... 95 16 The statement GOTO ........................... 97 17 Loop constructs ............................... 99 18 Functions and Subroutines ....................... 101 19 Reference Variables ............................ 111 20 Pattern matching.............................. 113 21 Handling run-time errors ........................ 117 22 Setting options ............................... 123 23 Other miscellaneous commands .................... 125 24 Using External modules ......................... 127 25 Command reference ............................ 129 ii ScriptBasic Users Guide iii Table of Contents 1 Introduction..............................
    [Show full text]
  • Sure Cross DXM700-Bx Wireless Controller Instruction Manual
    Sure Cross® DXM700-Bx Wireless Controller Instruction Manual Original Instructions 207894 Rev. B 6 December 2018 © Banner Engineering Corp. All rights reserved 207894 Sure Cross® DXM700-Bx Wireless Controller Contents 1 DXM700-Bx System Overview ........................................................................................................................................ 4 1.1 DXM Hardware Configuration Overview ..........................................................................................................................................5 1.2 DXM Automation Protocols ............................................................................................................................................................. 6 1.3 DXM Modbus Overview ................................................................................................................................................................... 7 1.3.1 DXM Modbus Registers .......................................................................................................................................................... 8 1.4 DXM Configuration Tool Overview ...................................................................................................................................................9 1.5 Dimensions ................................................................................................................................................................................... 10 2 Quick Start Guide .........................................................................................................................................................
    [Show full text]