How to setup wine(?) in breezy
Hall Family
cogyfarm at grm.net
Sat Feb 4 18:38:04 UTC 2006
Toby Kelsey wrote:
> Hall Family wrote:
>
>> Hello, I've got a small program that I wrote in "just basic" that runs
>> in windows. I was wondering if there is a way to run it in Linux, or
>> possibly convert it to a linux native app? Its 2700 lines of code so I
>> kinda freak at the thought of rewriting it. It doesn't use any windows
>> API calls that I'm aware of. Would I install wine and then what? How
>> do you install wine?
>>
>
> If you have the source, there are several BASIC-like interpreters for Ubuntu:
> bwbasic, gb and gambas. I don't know how compatible the languages are.
>
> You need to enable 'universe' in apt/Synaptic to install one of these or Wine.
> With Synaptic or apt-get installation should be straightforward. The Wine
> website (winehq.com) has some useful information if you go that route.
>
> BTW if you re-write it in Python, it will be much less than 2700 lines.
>
> Toby
>
>
but how close to basic is python? I don't know python at all. I'm
willing to investigate another language because I still have one or two
things that I'd like it to do that it doesn't.
Its a fairly simplistic program in that all it does is gather some data
( 171 of which is checkboxes ) and then do some calculations based on
that data and output it to a .csv file.
The rub comes in that I've written the program so that the whole thing
is very fluid. ALL of the variables that might possibly need to be
changed or want to be changed are contained in an .ini file which is
read upon startup.
From that it learns what the labels are, the data set, etc.
The bulk of the code I'd hazard to say is the code that says what to do
when one of these 171 checkboxes has been checked/unchecked.
Troy
I'll take a look at some of these programs. Ideally I'd like it to be
multi-platform.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060204/be18d668/attachment.html>
More information about the ubuntu-users
mailing list