basic

How to retreive data from TRS-80 floppy disks

I have a program that was written in TRS-DOS BASIC on a TRS-80 model 1. There is the program and more importantly the data files. Does anyone know of a service that I can sent the disks to that will read the data (for a reasonable price)? The original computer is long dead and it was a cool program that a couple of friends and I put t...

Should programmers start with basic

I was reading this question, and it really made me question using C# as a starting point for programming. I think this is why people should start with Basic, then move up to C, and then move on to stuff like C++, Java, .Net, or other advanced languages afterwards. I'm a .Net developer, and I seriously think that starting out in .Net wo...

How do you do string comparison in JavaScript?

I have a list of data objects to sort. I want to do something like list.sort(function(item1, item2){ return item1.attr - item2.attr; }) to sort it based on a string attribute of the object. But I found that the minus (-) operator does not work for strings in JavaScript. So how do you do string comparison? ...

BASIC Programming

I'm looking for a IDE that allows me to compile/run/debug BASIC code. Also wondering if I can "upgrade" basic code to Visual Basic 6. Any help is appreciated!! ...

FAT-16 On Modern OS

I've got a project that was written in BASIC. I'm not sure of the exact reason, but the app will not function except when being run from a FAT-16 file system. I'd rather try to set up and environment that will support this app in a modern OS (Vista/XP) instead of rewriting it. Does anyone know how to get an app like this running in...

C %[] conversion specifier and String functions.

I'm having a hard time coding understanding the format of the specifier and string functions. My aim is to use %[] to readin all characters and spaces and then use the strcpy function followed by the strcat function. So far i've managed to enter individual characters and print them out, excluding spaces. here's the code so far; int m...

With Lua and Python embeddable, is there a place for Basic?

I started off programming in Basic on the ZX81, then BASICA, GW-BASIC, and QBasic. I moved on to C (Ah, Turbo C 3.1, I hardly knew ye...) When I got started in microcontrollers I regressed with the BASIC Stamp from Parallax. However, BASIC is/was awesome because it was so easy to understand and so hard to make a mistake. I moved on t...

I can't see my other projects in Eclipse!

Hi all. I've been using Eclipse with each project in a separate window by right clicking on a project and selecting Open in New Window. This worked fine, but suddenly... even when I close Eclipse and reopen it, the Navigator only shows one of the projects I was working on. How can I navigate back??? Thanks! ...

Going through a text file line by line in vb 2005

So my program needs to go through a plain text file line by line essentially: Read line 1: Do commands loop Read line2: Do Commands loop etc until its done with the entire file does anyone know any good coding examples for this, all the tutorials seem to show open and writing/reading textfiles but nothing on how to do it line by line. ...

What are security problems with piggybacking authentication off another site (basic auth)?

I have a WSS installation that's behind basic authentication/SSL (it's hosted at a public web host). I'm creating a sister site in ASP.NET, and am considering just running the credentials through and allowing users to log into the new system providing there is no 401 Not Authorized error returned. Both are internet-facing applications t...

How can I disable basic authentication on Tomcat 5.5.27

Please let me know how can I disable basic authentication on Tomcat 5.5.27 ...

Basic help with include php

Ok I'm at my work this friday setting up a table that will have data in it that will come from a separate file called values.php. When I write it like this, the divs turn up blank. I think I have the "include" written wrong, does an absolute path not work? <?php include('http://www.nextadvisor.com/credit_report_services/values.php'); ...

Why can't a member Sub change a member variable in RapidQ (Basic)?

I am using RapidQ (an obscure environment, I know). The programming language is Basic. The following source code illustrates the problem: Type MyType Extends QOBJECT aVar as Integer Sub SetTheVar this.aVar = 10 End Sub Sub DoSomething this.Avar = 20 this.SetTheVar SHOWMESSAGE "aVar =...

BlitzMax - Object Oriented Basic language

What is your opinion on BASIC programming languages? BlitzBasic began on the Amiga (wikipedia). BlitzMax, designed on fasm and gcc (cross-platform, use C/C++ code in Max), is Object-Oriented (with inheritance and polymorphism), but still holds that same BASIC nature, which was ever so pleasant with the previous languages. BlitzMax is d...

How to Convince Programming Team to Let Go of Old Ways?

This is more of a business-oriented programming question that I can't seem to figure out how to resolve. I work with a team of programmers who have been working with BASIC for over 20 years. I was brought in to help write the same software in .NET, only with updates and modern practices. The problem is that I can't seem to get any of ...

Why did we bother with line numbers at all?

When you write something in BASIC, you are required to use line numbers. Like: 10 PRINT "HOME" 20 PRINT "SWEET" 30 GOTO 10 But i wonder: who came up with the idea to use line numbers at all? It is such a nuisance, and left quite an "echo" in the developing (pun intended) world! ...

Why does my form value not appear in $_REQUEST?

I have this code from an HTML form: <select name="history12"> <option value="Gov/Econ">Government &amp; Economics</option> <option value="AP Gov/Econ">AP Government &amp; Economics</option> </select> ...and this code, in a mailer form: $history12 = $_REQUEST['history12'] ; However, when I try to echo() $history12, it always...

Converting String^ to std::string (basic string) -> Error. How can I fix this?

I try to convert a String^ to basic string...but I get the error after this code. What does it mean and how can I fix it? I need to input basic string into a class constructor. The string^ would not work. System::String^ temp = textBox1->Text; string dummy = System::Convert::ToString(temp); error C2440: 'initializing' : cannot convert...

Does Apache basic authentication defend brute force attacks?

Will it shut down & lock up after repeated false password tries, and/or will it add lags in-between retries? Or does this depend on which modules you or your provider install? Thanks! ...

How to create a thread?

Hello, The method below is what I want to be done in that thread: public void Startup(int port,string path) { Run(path); CRCCheck2(); CRCCheck1(); InitializeCodeCave((ushort)port); } I tried what I could find googling,but nothing worked public void Test(int port,string path) { ...