The author is one Antonio Maschio from Italy.
You can get source, documentation and a CygWin binary from the main site. There are some examples on RosettaCode.
To give you an idea of the flavour of the language, the following is a simple CAESAR cipher implementation.
LET MSG$ = ""
LET OFFS = 0
LINE INPUT "Message"; MSG$
INPUT "Offset"; OFFS
DIM TARG(LEN(MSG$))
CHANGE MSG$ TO TARG
FOR I = 1 TO UDIM(TARG)
TARG(I) = TARG(I) + OFFS
NEXT
CHANGE TARG TO MSG$
PRINT MSG$
An example of running the above
>tbas CAESAR.BAS
Message ? My dog's got fleas
Offset ? 1
Nz!eph(t!hpu!gmfbt
© Copyright Bruce M. Axtens, 2018
No comments:
Post a Comment