nuBASIC (Install)

This is not the latest version of nuBASIC (Install) available.

1.49 | Updated: 11/13/2018

Downloads:

717

Downloads of v 1.49:

126

Maintainer(s):

Software Author(s):

  • Antonino Calderone

nuBASIC (Install) 1.49

This is not the latest version of nuBASIC (Install) available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install nuBASIC (Install), run the following command from the command line or from PowerShell:

>

To upgrade nuBASIC (Install), run the following command from the command line or from PowerShell:

>

To uninstall nuBASIC (Install), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade nubasic -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade nubasic -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure nubasic installed
  win_chocolatey:
    name: nubasic
    state: present
    version: 1.49
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'nubasic' do
  action    :install
  version  '1.49'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: nubasic,
    Version: 1.49,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller nubasic
{
   Name     = 'nubasic'
   Ensure   = 'Present'
   Version  = '1.49'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'nubasic':
  provider => 'chocolatey',
  ensure   => '1.49',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install nubasic version="1.49" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 11/13/2018.

Description

Screenshot of NuBASIC

nuBASIC has been designed and implemented mainly for educational purposes both for C++ developers that can deal with a non-trivial example of modern C++ programming and for beginners, which may get hooked on programming.

It is suitable for simple games, educational or small business programs.

Anyone who has previously worked with other BASIC languages will quickly become accustomed to nuBASIC. Large sections of the basic constructs of nuBASIC are compatible with other BASIC dialects.

nuBASIC is also very simple. It is an excellent tool for teaching programming to a complete beginner, despite this, it has all the features of a modern programming language.

It allows you to write both classic BASIC programs (which use line numbers and GoTo or GoSub control structures) and procedure oriented programs, based on procedural programming paradigm.

Features
* Free and Open Source (distributed under GPLv2 License)
* Easy to use and simple enough for 8-year-old-child to understand
* Fully-developed procedural programming language
* Multiplatform. Runs on 32-bit and 64-bit Linux/Windows x86/amd64
* Built-in help
* Documented (English and Italian Guides)
* IDE for Windows
* Examples include Tetris, Mine Hunter, Breakout, Calculator, TicTacToe
* Tiny version is suitable for embedded systems

PACKAGE NOTES


Click here to Patreon-ize the package maintainer.



tools\ChocolateyInstall.ps1
$packageName    = 'nubasic' 
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$bits           = Get-ProcessorBits
$url            = ''
$checksum       = ''
$url64          = 'https://downloads.sourceforge.net/project/nubasic/binary/Windows/nubasic-ide-1.49-setup_x64.zip'
$checksum64     = 'AD6263B4AB714BBC9B6489FCF9D620E22D5A12D6E72B5E02052C3E79AB22B6EE'
$ahkExe         = 'AutoHotKey'
$ahkFile        = "$toolsDir\nubasic-install.ahk"
$EXELocation    = "$toolsDir\setup-vs64.exe"

if ($bits -eq 32)
   {
    Write-Warning "Sorry, nuBASIC is 64 bit only." 
    throw
   }

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'ZIP' 
  url           = $url
  checksum      = $checksum
  url64         = $url64
  checksum64    = $checksum64
  checksumType  = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs 

$packageArgs = @{
  packageName    = $packageName
  fileType       = 'EXE'
  file           = $EXELocation
  silentArgs     = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
  validExitCodes = @(0)
  softwareName   = 'nuBASIC*'
}

Start-Process $ahkExe $ahkFile
Write-Host "  ** Please wait up to 30 seconds to cancel Microsoft Visual C++ 2017 Redistributabe install." -foreground magenta
Write-Host "  ** Microsoft Visual C++ 2017 Redistributabe should already be installed as a dependency." -foreground magenta
 
Install-ChocolateyInstallPackage @packageArgs

remove-item $EXELocation -Force -ErrorAction 'SilentlyContinue'
tools\ChocolateyUninstall.ps1
$packageName    = 'nubasic' 
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$ahkExe         = 'AutoHotKey'
$ahkFile        = "$toolsDir\nubasic-uninstall.ahk"

Start-Process $ahkExe $ahkFile
tools\nubasic-install.ahk
#NoEnv 
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
 
Sleep, 30000
If WinExist("Microsoft Visual C++ 2017 Redistributable (x64) - 14.11.25325 Setup")
{
 WinActivate
 Send !c
 Sleep 1000
 Send !y
}
tools\nubasic-uninstall.ahk
#NoEnv 
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
 
WinWaitActive, Uninstall, , 300
WinActivate
Send !y

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
nuBASIC (Install) 1.50 56 Saturday, August 10, 2019 Approved
nuBASIC (Install) 1.49 126 Tuesday, November 13, 2018 Approved
nuBASIC (Install) 1.48 296 Monday, July 17, 2017 Approved
nuBASIC (Install) 1.47 215 Sunday, April 30, 2017 Approved
Discussion for the nuBASIC (Install) Package

Ground Rules:

  • This discussion is only about nuBASIC (Install) and the nuBASIC (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or nuBASIC (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus