.bas BASIC program
Testo e codice sorgente
| Tipo MIME | text/x-basic |
|---|---|
| Descrizione | BASIC program |
| Categoria | Testo e codice sorgente |
| Basato su | text/plain |
Domande frequenti
Che cos’è un file .bas?
Un file .bas è un formato di tipo «BASIC program» (tipo MIME text/x-basic).
Come apro un file .bas?
Con qualsiasi editor di testo: Notepad++, Visual Studio Code, oppure gedit e vim su Linux. Il file contiene testo leggibile, eventualmente codice sorgente o configurazione.
Come si riconosce un vero file .bas?
Per questo formato non è registrata una firma fissa all’inizio del file; viene riconosciuto soprattutto dall’estensione. Su Linux e macOS, file --mime-type example.bas mostra il tipo presunto.
Su quale formato si basa .bas?
Tecnicamente un file .bas è un sottotipo di «Documento in testo semplice» (text/plain), quindi i programmi per quel formato di base spesso riescono a leggerlo.
Quale tipo MIME corrisponde a .bas?
Il tipo MIME è text/x-basic. Nel server web Apache: AddType text/x-basic .bas; in nginx: types { text/x-basic bas; }.