Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic General > Re: Why use Bas...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 31 of 99 Topic 595 of 684
Post > Topic >>

Re: Why use Basic at all? (was Re: BASIC with built-in matrix functions?)

by ArarghMail708NOSPAM@[EMAIL PROTECTED] Aug 26, 2007 at 04:08 AM

On Sun, 26 Aug 2007 03:26:03 -0400, "Tom Lake" <tlake@[EMAIL PROTECTED]
>
wrote:

>
><ArarghMail708NOSPAM@[EMAIL PROTECTED]
> wrote in message 
>news:mfm1d3dciq3mhspaa56qumv3vmrnipj04s@[EMAIL PROTECTED]
>> On Sat, 25 Aug 2007 19:35:57 -0400, "Tom Lake" <tlake@[EMAIL PROTECTED]
>
>> wrote:
>>
>>>
>>><news@[EMAIL PROTECTED]
> wrote in message
>>>news:1188077666.285056.183500@[EMAIL PROTECTED]
>
>> Yes.  Some which would be useful in any version of basic:
>> MAT ZER clear an entire array
>> MAT LET copy an entire array
>> MAT READ read an entire array
>> MAT WRITE write an entire array
>
>Try telling that to Nicholson!  For some reason, he won't add
>MAT READ or MAT PRINT to his BASICs.
>
>I know thay can be easily duplicated by nested loops but since
>the syntax is already standardized, why not add them?
>
>>
>> All of these, and probably all the rest will eventually be added to
>> BCET.  Some are already there.
>
>Bless you!

I wonder if anyone is actually using BCET.  Since I have received
little feedback, I can only assume that a) nobody uses it, or b) it
works perfectly.  And I KNOW that b) is false.  :-)  Which leaves . . 

As far as MAT ZER goes, in MS 16-bit Basics, REDIMing any array clears
it, and if you use different subscripts, changes its size.  Exact same
functionality as what the standard says, AFAICT, just different
syntax.  I will most likely just use the same runtime routine to
implement it.  Although, REDIMing a dynamic array also sometime moves
its location in memory.

MAT LET gets interesting.  What do you do if:
	dim a!(9), b#(9)
	mat a!=b#
That's going to have to cause an error, because changing the element
size is pretty much of a no no.

Also, if the destination array is static, then the source array must
be the exact same size (although smaller might work)

Have to dig thru the (pretty much unreadable) Standard to figure out
just how to proceed.

-- 
ArarghMail708 at [drop the 'http://www.'
from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html

To reply by email, remove the extra stuff from the reply address.
 




 99 Posts in Topic:
BASIC with built-in matrix functions?
ppnerkDELETETHIS@[EMAIL P  2007-06-12 11:24:07 
Re: BASIC with built-in matrix functions?
"R.Nicholson" &  2007-08-20 10:49:06 
Re: BASIC with built-in matrix functions?
ted rosenberg <tedrose  2007-08-20 14:30:40 
Re: BASIC with built-in matrix functions?
"Tom Lake" <  2007-08-20 19:45:32 
Re: BASIC with built-in matrix functions?
ppnerkDELETETHIS@[EMAIL P  2007-08-21 09:50:27 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix
"Stephen J. Rush&quo  2007-08-23 13:25:42 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-23 17:29:28 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ted rosenberg <tedrose  2007-08-23 22:51:49 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-24 00:07:22 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ted rosenberg <tedrose  2007-08-24 09:16:50 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-24 11:43:29 
BASIC & strings [Was: Why use Basic at all? (was Re: BASIC with
ppnerkDELETETHIS@[EMAIL P  2007-08-24 13:06:53 
Re: BASIC & strings [Was: Why use Basic at all? (was Re: BASIC w
"Auric__" <n  2007-08-24 13:55:55 
Re: BASIC & strings [Was: Why use Basic at all? (was Re: BASIC w
"Judson McClendon&qu  2007-08-25 09:37:36 
Re: BASIC & strings [Was: Why use Basic at all? (was Re: BASIC w
ppnerkDELETETHIS@[EMAIL P  2007-08-25 15:16:10 
Re: BASIC & strings [Was: Why use Basic at all? (was Re: BASIC w
"Judson McClendon&qu  2007-08-26 17:12:29 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix
Paul Bartlett <bartlet  2007-08-23 19:23:13 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-23 20:23:38 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-25 02:20:42 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Judson McClendon&qu  2007-08-25 10:29:12 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"R.Nicholson" &  2007-08-25 11:10:05 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-25 14:32:05 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-25 20:49:13 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Tom Lake" <  2007-08-26 03:27:43 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-25 14:34:26 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-25 19:18:05 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-25 20:38:48 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Tom Lake" <  2007-08-25 19:35:57 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-25 20:43:14 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Tom Lake" <  2007-08-26 03:26:03 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-26 04:08:50 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-25 20:32:35 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Judson McClendon&qu  2007-08-26 16:31:30 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-25 14:42:56 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"winston19842005@[EM  2007-08-25 20:45:47 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"R.Nicholson" &  2007-08-26 02:53:46 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-26 02:57:54 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Tom Lake" <  2007-08-26 06:06:19 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-26 16:36:41 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-26 03:12:40 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Tom Lake" <  2007-08-26 15:45:45 
Re: BASIC with built-in matrix functions?
"JJ" <stacko  2007-08-26 20:50:16 
Re: BASIC with built-in matrix functions?
"Tom Lake" <  2007-08-26 19:06:14 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-26 15:38:50 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Judson McClendon&qu  2007-08-27 07:12:03 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-27 09:32:27 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"R.Nicholson" &  2007-08-27 10:21:50 
Re: BASIC with built-in matrix functions?
Gary <LanceGary@[EMAIL  2007-08-20 20:58:14 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix
"Stephen J. Rush&quo  2007-08-23 13:13:03 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-23 22:34:26 
Re: BASIC with built-in matrix functions?
"R.Nicholson" &  2007-08-20 17:02:50 
Re: BASIC with built-in matrix functions?
"Tom Lake" <  2007-08-20 21:57:57 
Re: BASIC with built-in matrix functions?
"R.Nicholson" &  2007-08-20 20:50:28 
Re: BASIC with built-in matrix functions?
"Tom Lake" <  2007-08-21 01:55:52 
Re: BASIC with built-in matrix functions?
"R.Nicholson" &  2007-08-22 10:00:59 
Re: BASIC with built-in matrix functions?
ppnerkDELETETHIS@[EMAIL P  2007-08-23 14:18:31 
Re: BASIC with built-in matrix functions?
"R.Nicholson" &  2007-08-22 10:02:29 
Re: BASIC with built-in matrix functions?
"Tom Lake" <  2007-08-22 13:05:57 
Re: BASIC with built-in matrix functions?
ted rosenberg <tedrose  2007-08-22 14:34:33 
Re: BASIC with built-in matrix functions?
"Tom Lake" <  2007-08-22 14:40:18 
Re: BASIC with built-in matrix functions?
ted rosenberg <tedrose  2007-08-22 18:22:06 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix
"Stephen J. Rush&quo  2007-08-24 01:48:18 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-24 12:16:08 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Derek <derekrss@[EMAIL  2007-08-28 23:19:19 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-26 13:10:15 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-26 16:47:37 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Judson McClendon&qu  2007-08-26 16:53:24 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Tom Lake" <  2007-08-26 18:58:21 
Re: BASIC & strings [Was: Why use Basic at all? (was Re: BASIC w
"Stephen J. Rush&quo  2007-08-27 00:27:29 
Re: BASIC & strings [Was: Why use Basic at all? (was Re: BASIC w
"winston19842005@[EM  2007-08-26 23:28:26 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Derek <derekrss@[EMAIL  2007-08-28 22:58:17 
Re: BASIC with built-in matrix functions?
"R.Nicholson" &  2007-08-22 10:10:55 
Why use Basic at all? (was Re: BASIC with built-in matrix functi
"R.Nicholson" &  2007-08-22 12:22:52 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-22 15:36:50 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"R.Nicholson" &  2007-08-26 02:38:12 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Tom Lake" <  2007-08-26 06:01:33 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-26 03:05:17 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-26 16:19:29 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix
"Stephen J. Rush&quo  2007-08-26 14:12:07 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"Tom Lake" <  2007-08-26 15:47:53 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Vic Drastik <user@[EMA  2007-08-27 16:05:34 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-22 13:32:52 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
budgie <me@[EMAIL PROT  2007-08-23 08:58:20 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ppnerkDELETETHIS@[EMAIL P  2007-08-23 14:07:19 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"R.Nicholson" &  2007-08-22 13:41:16 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-22 17:31:07 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Derek <derekrss@[EMAIL  2007-08-28 22:41:08 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-29 01:58:42 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-26 15:23:01 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ArarghMail708NOSPAM@[EMAI  2007-08-26 17:59:18 
Re: BASIC with built-in matrix functions?
Gary <LanceGary@[EMAIL  2007-08-22 22:23:57 
Re: BASIC with built-in matrix functions?
ted rosenberg <tedrose  2007-08-23 08:10:09 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"R.Nicholson" &  2007-08-22 19:09:11 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
"news@[EMAIL PROTECT  2007-08-23 01:55:41 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
ted rosenberg <tedrose  2007-08-23 09:57:01 
Re: Why use Basic at all? (was Re: BASIC with built-in matrix fu
Happy Trails <nomail@[  2007-08-23 11:47:12 
Re: BASIC with built-in matrix functions?
RickE <eng@[EMAIL PROT  2007-08-23 06:42:48 
Re: BASIC with built-in matrix functions?
Gary <LanceGary@[EMAIL  2007-08-23 06:52:07 
Re: BASIC with built-in matrix functions?
ted rosenberg <tedrose  2007-08-23 10:39:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 18:10:53 CDT 2008.