* vs OSCLI

Discussions about the BBC BASIC language, with particular reference to BB4W and BBCSDL
Post Reply
MattC
Posts: 29
Joined: Mon 16 Apr 2018, 06:17

* vs OSCLI

Post by MattC » Wed 24 Apr 2019, 19:01

Hi.

The 'star' commands can be implemented using the OSCLI command, e.g.

Code: Select all

*FONT Arial,16
[=]
OSCLI "Arial,16"
OSCLI also has the ability to use variables in the call, so can be adapted during runtime, e.g.

Code: Select all

font$ = "Arial,16"
OSCLI font$
However, my question is, are there any other advantages of one over the other, such as speed or error handling?

Matt

Post Reply