🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #441

PARallel ACTions in BASIC

#441
From: Ted A. Campbell
Date: Fri, 22 Jan 1993 11:03
29 lines
1383 bytes
An ANSI Solution to My Multitasking BASIC Query
-----------------------------------------------

Thanks for your responses to my query about Multitasking BASIC. I
was very surprised to learn when my copy of the Full ANSI BASIC
standard arrived that this possibility was more or less foreseen 
in the ANSI specification.  Their solution is that BASIC code
can be subdivided into code segments delimited as follows:

PARACT
   ...
END PARACT

PARACT
   ...
END PARACT

Each code segment so delimited is run as a "PARallel ACTion".  This
will be implemented as an option in bwBASIC 2.xx, but it is a fairly
costly one in terms of code size, basically increasing all code by
about 33% and slowing down processing.  Several persons pointed out
that this would probably not be worth it, especially in an interpreted
language.  So it can be commented out at bwBASIC compilation time. 

Has anyone ever seen a BASIC that implements this PARACT feature?


Ted A. Campbell
email: tcamp@acpub.duke.edu
Technical Details
Message-ID: <8942@news.duke.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!stanford.edu!rock!concert!duke!news.duke.edu!acpub.duke.edu!tcamp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!stanford.edu!rock!concert!duke!news.duke.edu!acpub.duke.edu!tcamp
From: tcamp@acpub.duke.edu (Ted A. Campbell)
Newsgroups: alt.lang.basic
Subject: PARallel ACTions in BASIC
Message-ID: <8942@news.duke.edu>
Date: 22 Jan 93 11:03:30 GMT
Sender: news@news.duke.edu
Lines: 29
Nntp-Posting-Host: raphael.acpub.duke.edu