https://zx.remysharp.com/bas/ mit einer Bat aufrufen.

#7653680
Lesenswert?

Christian M. schrieb:

Schreibt er aber nicht.

Kann man aber anhand der Webseite erkennen. Auf der steht auch drauf, wie es geht, man muss es nur schaffen, auf das kleine Dreieck unten links zu klicken.

(siehe Screenshot)

Dann sieht man das hier:

1
Command line
2

3
To convert between NextBASIC and text (and visa versa) on the command line, see the txt2bas tool (includes txt2bas and bas2txt.
4

5
The txt2bas is also available as a JavaScript library on the URL above.
6
API
7

8
Alternatively, you can POST to the following endpoints:
9

10
    POST https://zx.remysharp.com/txt2bas
11
    POST https://zx.remysharp.com/bas2txt
12

13
Both endpoints support binary `file` body property. The txt2bas also supports `text=` posted body. For example:
14

15
$ curl https://zx.remysharp.com/txt2bas -F 'file=@./my-prog.txt' > my-prog.bas
16
$ curl https://zx.remysharp.com/txt2bas -d 'text=10 PRINT "Hello world"' > my-prog.bas
17
$ curl https://zx.remysharp.com/bas2txt -F 'file=@./my-prog.bas'

Und die Zielen mit dem $-Zeichen, die sinds.

#7653696
Lesenswert?

Harald K. schrieb:

Das öffnet einen Webbrowser ... und das ist ganz, ganz sicher nicht das, was der Threadstarter im Sinn hat.

Er sagt ja nur, dass er die Seite "aufrufen" will. Was er damit meint, hat er nicht erwähnt.

Kann man aber anhand der Webseite erkennen.

Dazu müsste man sie öffnen, was viele hier vermutlich nicht tun. Es hätte ja durchaus auch Clickbait sein können. Wäre nicht das erste mal.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren