Linux SoftwareProgrammingLibrariesLanguage::Basic::Variable 1.44

Language::Basic::Variable 1.44


Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables. SYNOPSIS See Language::Basic for
Developer:   Amir Karger
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   51K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables.

SYNOPSIS

See Language::Basic for the overview of how the Language::Basic module works. This pod page is more technical.
There are two sorts of variables: Arrays and Scalars. Each of those classes has a subclass for Numeric or String variables.

An Array needs to have full LBV::Scalar objects in it, rather than just having an array of values. The reason is that, for example, you might use ARR(3) as the variable in a FOR loop. Also, the "set" and "value" methods apply to a LBV::Scalar (since you can't set an array to a value (in BASIC) so in order to be handle A(3)=3, A(3) needs to be an LBV::Scalar.

The lookup method looks up a variable in the Array or Scalar lookup table (depending on whether there were parentheses after the variable name). BASIC allows undeclared variables, so if the variable name hasn't been seen before, a new variable is created.

Language::Basic::Variable::Scalar class

This class handles a variable or one cell in an array.

Methods include "value", which gets the variable's value, and "set", which sets it.

Language::Basic::Variable::Array class

This class handles a BASIC array. Each cell in the array is a LBV::Scalar object.

Methods include "dimension", which dimensions the array to a given size (or a default size) and get_cell, which returns the LBV::Scalar object in a given array location.

Note that BASIC arrays start from 0!

Requirements:
  • Perl
    tags language basic  lbv scalar  the variable  the array  basic variable  methods include  scalar object  class handles  variable name  class this  this class  

    Download Language::Basic::Variable 1.44


     http://ftp.casaafacerilor.ro/mirrors/CPAN/authors/id/A/AK/AKARGER/Language-Basic-1.44.tar.gz


    Authors software

    Language::Basic::Variable 1.44 (by Amir Karger)
    Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables.

    SYNOPSIS

    See Language::Basic for

    Language::Basic::Expression 1.44 (by Amir Karger)
    Language::Basic::Expression is a Perl package to handle string, numeric, and boolean expressions.

    SYNOPSIS

    See Language::Basic


    Similar software

    Language::Basic::Variable 1.44 (by Amir Karger)
    Language::Basic::Variable is a Perl module to handle parsing and implementing BASIC variables.

    SYNOPSIS

    See Language::Basic for

    Language::Basic::Expression 1.44 (by Amir Karger)
    Language::Basic::Expression is a Perl package to handle string, numeric, and boolean expressions.

    SYNOPSIS

    See Language::Basic

    Finance-QuoteHist 1.07 (by Matthew P Sisk)
    Top level aggregator that will select a default lineup of site instances default lineup of site instancesof site instancesof site ins

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    web.template 0.9.1 RC2 (by Marcin Staniszczak)

    IO-stringy 2.110 (by David F. Skoll)
    IO-stringy is a I/O on in-core objects like strings and arrays.

    SYNOPSIS

    IO::
    ::AtomicFile adpO Write a file which

    OSSP var 1.1.3 (by Ralf S. Engelschall and Peter Simons)
    OSSP var is a flexible, full-featured and fast variable construct expansion library

    Font::TTF::Scripts::AP 0.7 (by Font::TTF::Scripts::AP Team)
    Font::TTF::Scripts::AP is a memory representation of a TTFBuilder Attachment Point database (APDB).

    SYNOPSIS

    use Font::TTF::Sc

    Font::Scripts::AP 0.5 (by Font::Scripts::AP Team)
    Font::Scripts::AP is a Perl module for memory representation of a TTFBuilder Attachment Point database (APDB).

    SYNOPSIS

    use Fo

    Tie::Array::PackedC 0.03 (by demerphq)
    Tie::Array::PackedC is a tie a Perl array to a C-style array (packed; elements of a single, simple data type).

    SYNOPSIS

    use T


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags