Questions tagged [basic]

BASIC is a family of programming languages designed for ease-of-use and notable for preferring English words over symbols as language constructs. While most dialects have fallen from mainstream usage, modern variants like Microsoft's Visual Basic and its successor, VB.NET, remain popular.

BASIC is a family of programming languages designed for ease-of-use and notable for preferring English words over symbols as language constructs.
While most dialects have fallen from mainstream usage, modern variants like Microsoft's Visual Basic and its successor, VB.NET, remain popular.
It preceded Object Oriented Languages such as C++ and Java.

21 questions
3
votes
0 answers

How to represent m:n relationships in a form in Libre Office base?

I have an embedded database in Libre Office. I am building a form in it, and got into a problem. I have a table called "Author" and another table called "Publication", connected by a third table "AuthorsAndPublications" (it is an m:n relationship).…
rumtscho
  • 4,084
2
votes
1 answer

BASIC program on Samba share gets 'Access denied' when launching other process

This is the situation. We have a Synology NAS (running DSM 5.0) hosting a Windows file share called general. This folder's permissions are set as in the screenshot: This folder is used as a mapped network drive on Windows 7 (32-bit) clients (mapped…
2
votes
1 answer

How to run BASIC on Windows XP Home?

I have Windows XP Home Edition. Is it possible to run BASIC? If yes, then how do I run all the commands in a text file in BASIC?
Nomin
  • 49
2
votes
1 answer

Folders displaying in orange color in python 3, pycharm

Can somebody point me in the right direction on this? I just can't find any ressources on why a folder will display in orange as if it was not active. I can't import modules from there since its not active and i can't activate it at all and i don't…
2
votes
1 answer

How to do a regex substitution on a string in an LO Basic "macro"?

This seems like something that should be extremely easy to do but it's not - it's certainly not obvious how to do it, anyway. I want to write a function in LibreOffice Basic that takes a string, a regexp search pattern, and a replacement string,…
cas
  • 671
2
votes
0 answers

When debugging LibreOffice macro's, how do I get the error messages?

I am currently working on a LibreOffice macro that I want to run from the commandline in the background (i.e. without GUI). I call the macro like this: swriter --invisible --nofirststartwizard --headless --norestore…
dimpol
  • 223
1
vote
4 answers

FreeBASIC on linux

I want to install freeBASIC on ubuntu( to code QBASIC). There is a package "libfreebasic" which I've installed but I don't see any difference on my system... Can I code in QBASIC in ubuntu?
a-z
  • 141
1
vote
1 answer

How to prevent the CMD pause to stop the script after opening a program

So, I am very bad at using the CMD program and I'm just trying to do something for fun. In my mind, it is very basic. I want to open a .bat file, that prompt an "echo" question so when I press any key it opens a program A and a URL X, then ask me…
1
vote
1 answer

Libreoffice macro basic: skip to next paragraph test for upper case

I'm trying to write a macro, and I need to skip to the next paragraph, where I will test the first letter for capitalization. I've spent hours and have only found inaccurate or hard to follow documentation for something that I think should be…
Paul B.
  • 69
1
vote
0 answers

How to run a legacy GWBasic script inside linux command line with forced full host cpu speed

I have a really obscure old colection of Basic scripts (too many scripts, all of them too long and with too many goto to be worthy to translate them and I personally know nothing at all about qwbasic) that I need to run inside a linux server to call…
Yiin00b
  • 11
0
votes
2 answers

Run Mallard Basic .com program on Windows 8?

Is there a way to run an app written in Mallard Basic on modern Windows? I've tried to make a shortcut to the COM, which already caused some error messages, and then to run it in compatibility mode for an older Windows, to no avail. It says "This…
0
votes
1 answer

How to use Advanced Editing in Notepad++ or similar

I would like to be able to edit sections of text in the following way. I might have a section as seen below. Example. Instance=wall { VisGroups=(32) MeshFile=wall.gmt CollTarget=False HATTarget=False } I need to find the section I want…
Tonto
  • 1
0
votes
1 answer

LibreOffice Writer macro that moves cursor (the blinking one) to the end of a certain footnote footer

I need some help creating a libreoffice writer macro. my goal is: the cursor (the blinking one) is somewhere located in the text body. the next footnote anchor contained in the text body, which is (optically) following up after the text cursor's…
LizLee
  • 43
0
votes
0 answers

How can create a new calc workbook with template file?

The template excel file located in templatePath,new created excel file located in newFilePath,it is simple to create a new excel file with the template file with vba: Set myFile = CreateObject("Scripting.FileSystemObject") Call…
showkey
  • 291
0
votes
1 answer

Macro to keep 3 rows visible under the selected row in LibreOffice Calc

In Calc or MS Excel when one is finished editing a cell in a row, pressing Enter leads to the next row below. Keep doing that and eventually you arrive at the last row visible on the screen. Here when you press Enter, it will lead to the next row…
Shakir
  • 103
1
2